import { LocalApprovalProvider } from '@permitrail/provider-local'; import type { ProofPayload, SignedEnvelope } from '@permitrail/core'; import type { WaitForProofOptions } from './wait-for-proof.ts'; export { waitForProof } from './wait-for-proof.ts'; export type { WaitForProofOptions } from './wait-for-proof.ts'; export interface StartLocalApprovalOptions { readonly port?: number; readonly provider?: LocalApprovalProvider; } export interface LocalApproval { readonly provider: LocalApprovalProvider; readonly publicKeyPem: string; readonly url: string; waitForProof(challengeId: string, options?: WaitForProofOptions): Promise>; stop(): Promise; } export declare function startLocalApproval(options?: StartLocalApprovalOptions): Promise; //# sourceMappingURL=index.d.ts.map