export type WorkspaceConnectionLifecycleEvent = { type: "connection-deleted"; connectionId: string; ownerEmail: string; orgId: string | null; } | { type: "grant-revoked"; connectionId: string; appId: string; ownerEmail: string; orgId: string | null; }; export type WorkspaceConnectionLifecycleListener = (event: WorkspaceConnectionLifecycleEvent) => void | Promise; export declare function registerWorkspaceConnectionLifecycleListener(listener: WorkspaceConnectionLifecycleListener): () => void; export declare function notifyWorkspaceConnectionLifecycle(event: WorkspaceConnectionLifecycleEvent): Promise; //# sourceMappingURL=lifecycle.d.ts.map