import type { EvidenceReference } from "../evidence/store.js"; import { type ProcessRunner } from "../providers/process.js"; import type { createRuntimeTicketAuthorities } from "./runtime-authority.js"; type TicketAuthorities = ReturnType; export interface TicketAdmission { readonly ticket_id: string; readonly ticket_version: number; readonly attempt: number; readonly worker_id: string; readonly session_id: string; readonly lease_token: string; readonly worktree_id: string; readonly worktree_path: string; readonly worktree_branch: string; readonly worktree_base_commit: string; readonly verification_plan: EvidenceReference; } /** * Deterministically prepares and leases ready GitHub tickets. The conductor still * chooses role, model, task, and which admitted ticket to dispatch. */ export declare function admitReadyGithubTickets(options: { readonly packageRoot: string; readonly configRoot?: string; readonly workspaceRoot: string; readonly stateRoot: string; readonly tickets: TicketAuthorities; readonly ticketIds: readonly string[]; readonly at: string; readonly env?: NodeJS.ProcessEnv; readonly runner?: ProcessRunner; readonly limit?: number; }): readonly TicketAdmission[]; export {};