import { type InputCoreState } from './input-core.js'; export interface PasteHost { readonly pasteRegistry: Map; readonly pasteStartCursor: number; input: InputCoreState; } export declare function expandPastePlaceholders(self: PasteHost, buffer: string): string; export interface BufferSnapshotHost extends PasteHost { readonly queued: boolean; } export declare function getBuffer(self: BufferSnapshotHost): { text: string; queued: boolean; }; export declare function maybeTruncatePaste(self: PasteHost): void; export declare function maybeAtomicPlaceholderDelete(self: PasteHost, direction: 'backward' | 'forward'): InputCoreState | null;