import type { RepoFixture } from './git-fixture.test-helpers.mts'; import type { GhRunner } from './pr-gh.mts'; import type { PolicyOutcome, PolicyRequest } from './policy-spawn.mts'; export declare const PR_ARGS: { sessionId: string; title: string; summary: string; impact: string; relatedIssues: { number: number; relation: string; reason: string; }[]; details: string[]; base: string; agent: string; mode: string; workspaceSetup: string; }; export declare function declarePolicy(fixture: RepoFixture): void; type Reply = (name: string, input: Record) => unknown; export declare function policy(reply: Reply): { requests: { name: string; input: Record; }[]; spawnPolicy: (request: PolicyRequest) => Promise; }; type GhCall = { args: string[]; cwd: string; env: NodeJS.ProcessEnv; body?: string; }; /** A fake gh: records calls (reading any --body-file while it still exists) and replies by verb. */ export declare function fakeGh(replies?: { view?: unknown; create?: string; edit?: string; }): { calls: GhCall[]; bodyFiles: { path: string; mode: number; }[]; runGh: GhRunner; }; export declare const device: () => { user: string; host: string; }; /** Gives the fixture an `origin` that already has the linked branch at its current commit. */ export declare function usePushedRemote(fixture: () => RepoFixture): void; export {};