import type { Transport } from './transport'; /** * Body for minting a web entry code (POST * `/api/channels/web/gates/{identity}/codes`). Both fields are optional-nullable * and sent EXPLICITLY: `label` is a human tag (`null` for none); `expires_at` is * an ISO-8601 instant the code dies at (`null` for a code that never expires). */ export interface WebEntryCodeMintBody { readonly label: string | null; readonly expires_at: string | null; } export declare function webEntryGateClient(t: Transport): { getWebEntryGate: (identity: string, signal?: AbortSignal) => Promise<{ enabled: boolean; codes: { code_id: string; label: string | null; created_at: string; expires_at: string | null; }[]; }>; setWebEntryGate: (identity: string, enabled: boolean) => Promise<{ enabled: boolean; }>; mintWebEntryCode: (identity: string, body: WebEntryCodeMintBody) => Promise<{ code: string; code_id: string; expires_at: string | null; }>; revokeWebEntryCode: (identity: string, codeId: string) => Promise<{ status: "revoked"; }>; }; //# sourceMappingURL=web-entry-gate-client.d.ts.map