export declare function publishAgentHandler(getApiUrl: () => string, draftSessionId: string): () => Promise<{ ok: boolean; slug?: string; url?: string; error?: string; }>;