import type { GatewaySessionService } from '../session-service.js'; export declare const BOOTSTRAP_MAX_SKEW_MS = 60000; export declare const BOOTSTRAP_NONCE_TTL_MS = 300000; export declare const BOOTSTRAP_MAX_NONCES = 4096; export declare const BOOTSTRAP_RATE_BURST = 10; export declare const BOOTSTRAP_RATE_REFILL_PER_SEC = 1; export declare const BOOTSTRAP_FAILED_RATE_BURST = 20; export declare const BOOTSTRAP_FAILED_RATE_REFILL_PER_SEC = 2; export declare const BOOTSTRAP_MAX_TTL_DAYS = 1; export interface BootstrapProofInput { readonly secret: string; readonly method: string; readonly path: string; readonly timestampMs: number; readonly nonce: string; readonly body: string; } export declare const computeBootstrapProof: (input: BootstrapProofInput) => string; export interface LoopbackSessionMintOptions { readonly service: GatewaySessionService; readonly ownerScopeRef: string; readonly bootstrapSecret: string; readonly beforeAcquire?: (input: Record) => Promise; readonly now?: () => number; readonly maxNonces?: number; } export declare const createLoopbackSessionMintHandler: (options: LoopbackSessionMintOptions) => (request: Request, peerKey?: string) => Promise; //# sourceMappingURL=bootstrap-session-mint.d.ts.map