export interface TerminalProtocolFilterState {
    pendingChunk: Buffer | null;
    interceptOsc11BackgroundQueries: boolean;
    suppressDeviceAttributeQueries: boolean;
}
export interface CreateTerminalProtocolFilterStateOptions {
    interceptOsc11BackgroundQueries?: boolean;
    suppressDeviceAttributeQueries?: boolean;
}
export interface FilterTerminalProtocolOutputOptions {
    onOsc11BackgroundQuery?: () => void;
}
export declare function createTerminalProtocolFilterState(options?: CreateTerminalProtocolFilterStateOptions): TerminalProtocolFilterState;
export declare function disableOsc11BackgroundQueryIntercept(state: TerminalProtocolFilterState): void;
export declare function filterTerminalProtocolOutput(state: TerminalProtocolFilterState, incoming: Buffer, options?: FilterTerminalProtocolOutputOptions): Buffer;
//# sourceMappingURL=terminal-protocol-filter.d.ts.map