import type { Transport } from './transport'; /** * Body for minting a trigger link (POST `/api/hooks/trigger-links`). `ttl_seconds` * is REQUIRED and nullable — a positive int is a timed link, `null` is a permanent * link (`0`/negative is a loud server 400); it is always sent EXPLICITLY (a dropped * key 400s server-side). `name` is optional (the server generates one when omitted); * `tool_kwargs` is the optional per-link params merged last into every fire. */ export interface TriggerLinkCreateBody { readonly topic: string; readonly name?: string; readonly execution_key: string; readonly require_api_key: boolean; readonly ttl_seconds: number | null; readonly tool_kwargs?: Record | null; } export declare function triggerLinksClient(t: Transport): { createTriggerLink: (body: TriggerLinkCreateBody) => Promise<{ name: string; trigger_path: string; token: string; topic: string; expires_at: string | null; }>; listTriggerLinks: (signal?: AbortSignal) => Promise<{ items: { name: string; topic: string; execution_key: string; trigger_auth: "token" | "public" | "verifier" | "token+api_key" | "out-of-service"; tool_kwargs: Record | null; created_by: string | null; created_at: string; expires_at: string | null; token_hash_prefix: string; }[]; total: number; }>; deleteTriggerLink: (name: string) => Promise<{ removed: boolean; name: string; }>; }; //# sourceMappingURL=trigger-links-client.d.ts.map