import type { CoordinationTransport } from "./store.js"; export interface CoordinationWriteIntent { repository: string; repositoryId: string; endpointHash: string; credentialBindingHash: string; credentialRef: string; actor: string; hostId: string; ref: string; head: string; expected: string | null; } export type CoordinationDeleteIntent = Omit & { expected: string; }; /** Narrow production adapter; scopes and metadata never manufacture write authorization. */ export declare class GitHubCoordinationTransport implements CoordinationTransport { private readonly remote; private readonly credentialId; private readonly authorizeWrite?; private readonly authorizeDelete?; readonly repository: string; readonly repositoryId: string; private readonly binding; private readonly projectDir; private readonly endpoint; constructor(projectRoot: string, remote: string, repositoryId: string, credentialId: string, authorizeWrite?: ((intent: CoordinationWriteIntent) => void) | undefined, authorizeDelete?: ((intent: CoordinationDeleteIntent) => void) | undefined); private execute; readRef(ref: string): string | null; fetch(directory: string, sha: string): void; push(directory: string, sha: string, ref: string, expected: string | null): { status: number | null; stdout: string; stderr: string; error: string | null; credentialRef: string; identity: string; expiresAt: string; }; deleteRef(ref: string, expected: string): { status: number | null; stdout: string; stderr: string; error: string | null; credentialRef: string; identity: string; expiresAt: string; }; } //# sourceMappingURL=transport.d.ts.map