import type { IAgentRuntime, Memory } from "../../../../types/index.ts";
import type { AddTaskClipboardItemInput, TaskClipboardItem, TaskClipboardSnapshot } from "../types.ts";
type TaskClipboardPersistenceInput = AddTaskClipboardItemInput & {
    fallbackTitle?: string;
};
export type TaskClipboardPersistenceResult = {
    requested: false;
    stored: false;
} | {
    requested: true;
    stored: true;
    replaced: boolean;
    item: TaskClipboardItem;
    snapshot: TaskClipboardSnapshot;
} | {
    requested: true;
    stored: false;
    reason: string;
};
export declare function shouldAddToClipboard(message: Memory): boolean;
export declare function resolveClipboardTitle(message: Memory, fallbackTitle?: string): string | undefined;
export declare function maybeStoreTaskClipboardItem(runtime: IAgentRuntime, message: Memory, input: TaskClipboardPersistenceInput): Promise<TaskClipboardPersistenceResult>;
export {};
//# sourceMappingURL=taskClipboardPersistence.d.ts.map