export interface DaemonLaunchOptions { host: string; ttl: string; log?: boolean; subdomain?: string; auth?: string; /** Custom auto-response for capture-only webhooks. */ respond?: number; respondBody?: string; respondContentType?: string; respondHeaders?: Record; respondDelayMs?: number; /** Inbound signature verification (webhook only). */ verify?: { provider: string; secret: string; }; /** Local delivery (webhook only): mirror captures to this base URL. */ deliver?: string; /** Local delivery (webhook only): run this command per capture. */ deliverExec?: string; /** Only deliver captures whose signature verified valid. */ verifiedOnly?: boolean; /** Email inbox opt-in (webhook only): @ → the feed. */ email?: boolean; /** Config profile name (`otterkit up`). */ profile?: string; } export interface DaemonLaunchResult { mode: 'tunnel' | 'webhook'; subdomain: string; publicUrl: string; target: string | null; pid: number; ttl: string; startedAt: string; expiresAt: string; capture: boolean; auth: boolean; /** Present when the endpoint provisioned with an email inbox. */ emailAddress?: string; profile?: string; } /** Provision and spawn a background daemon. Port 0 = capture-only webhook. */ export declare function launchDaemon(port: number, options: DaemonLaunchOptions): Promise;