zephyr-agent
Version:
Zephyr plugin agent
18 lines • 956 B
TypeScript
import { type AttributionRepositoryPolicy, type ChangeAttribution } from 'zephyr-edge-contract';
import type { ZeApplicationConfig } from '../node-persist/upload-provider-options.js';
import { type AttributionConfig } from './config.js';
/** 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.ts.map