UNPKG

zephyr-agent

Version:
18 lines • 959 B
import { type AttributionRepositoryPolicy, type ChangeAttribution } from 'zephyr-edge-contract'; import type { ZeApplicationConfig } from '../node-persist/upload-provider-options.mjs'; import { type AttributionConfig } from './config.mjs'; /** Both repo opt-in and authenticated server policy must authorize remote sharing. */ export declare function resolveRemoteContent(config: AttributionConfig, policy: AttributionRepositoryPolicy | undefined): { patch: boolean; lines: boolean; }; /** Upload private evidence before publishing its reference. No request in local mode. */ export declare function publishAttribution({ directory, summary, applicationUid, buildId, snapshotId, appConfig, }: { directory: string; summary: ChangeAttribution | undefined; applicationUid: string; buildId: string; snapshotId: string; appConfig: ZeApplicationConfig; }): Promise<ChangeAttribution | undefined>; //# sourceMappingURL=remote.d.mts.map