import { type AuthorityArtifact } from "./authority-artifact-store.js"; import { type AuthorityArtifactTuple } from "./authority-artifact-binding.js"; import { type AuthorityEnrollment, type AuthorityEnrollmentReadback, type AuthorityEnrollmentStoreOptions } from "./authority-enrollment.js"; import { type AuthorityStatus } from "./authority-command-surface.js"; import { type ProjectFinishAttestationVerifierAssessment } from "./project-finish-attestation-verifier.js"; import type { CliRunResult } from "./bearshell.js"; type AuthorityCommandOptions = AuthorityEnrollmentStoreOptions & { readonly artifactFetch?: (projectDir: string, enrollment: AuthorityEnrollment, expected: AuthorityArtifactTuple) => AuthorityArtifact | undefined; readonly artifactInspector?: (projectDir: string, enrollment: AuthorityEnrollment, archive: Buffer, now: Date) => ProjectFinishAttestationVerifierAssessment; readonly confirmEnrollment?: boolean; readonly enrollmentReadback?: (repositorySlug: string, workflowPath: string) => AuthorityEnrollmentReadback | undefined; readonly githubToken?: string; readonly packageRoot?: string; readonly projectDir?: string; }; export { authorityUsage } from "./authority-command-surface.js"; export { authorityEnrollmentFromReadback, readAuthorityEnrollment, } from "./authority-enrollment.js"; export type { AuthorityStatus } from "./authority-command-surface.js"; export declare function runAuthorityCommand(args: readonly string[], options?: AuthorityCommandOptions, invocationName?: string): CliRunResult; export declare function readAuthorityStatus(options?: AuthorityCommandOptions): AuthorityStatus;