import type { SessionNotification } from '@agentclientprotocol/sdk';
import type { UiAgentStep } from '@histoire/shared';
/**
 * Projects one prompt's ACP tool calls and thinking spans into bounded, redacted UI steps.
 * Arguments, raw output and thought text are never retained.
 * @param root Project root used to relativize reported locations.
 * @param sanitize Redacts known secrets from titles and paths.
 */
export declare function createAgentActivity(root: string, sanitize: (text: string) => string): {
    /**
     * Applies one validated session notification.
     * @returns Copies of every step whose state changed, in order.
     */
    update(notification: SessionNotification): UiAgentStep[];
    /** Current steps in arrival order. */
    snapshot(): UiAgentStep[];
    /** Settles still-running steps once the prompt ended, returning final steps. */
    finish(): UiAgentStep[];
};
//# sourceMappingURL=activity.d.ts.map