export interface DurableMemoryStatusToolCall {
    name: string;
    arguments: unknown;
}
export type DurableMemoryStatus = {
    phase: 'running';
    toolCall?: DurableMemoryStatusToolCall;
} | {
    phase: 'checked';
    message?: string;
} | {
    phase: 'updated';
    message?: string;
} | {
    phase: 'error';
    message?: string;
};
type DurableMemoryStatusListener = (status: DurableMemoryStatus) => void;
/** Broadcast a durable-memory status event to all current subscribers. */
export declare function emitDurableMemoryStatus(status: DurableMemoryStatus): void;
/** Subscribe to durable-memory status events; returns an unsubscribe function. */
export declare function subscribeDurableMemoryStatus(listener: DurableMemoryStatusListener): () => void;
export {};
//# sourceMappingURL=status.d.ts.map