/**
 * Filters Cursor UI noise from chat text (DOM + JSONL).
 * Keep: user messages, assistant prose, short meaningful status ("Исправляю.").
 */
/** Cursor pauses chat while background agent / shell runs */
export declare const BACKGROUND_WORK_STATUS: RegExp;
export declare const AGENT_STATUS_BACKGROUND_SHELL = "background_shell";
export declare const WORKING_STATUS_LINE: RegExp;
/** Short DOM status line only — not a sentence inside a chat message. */
export declare function matchBackgroundWorkStatusText(text: string): string | undefined;
export declare function isBackgroundWorkStatusText(text: string): boolean;
/** Paused for background shell — not active generation (no list spinner / agentWorking). */
export declare function isPassiveBackgroundShellState(state: {
    agentStatus?: string;
    agentWorking?: boolean;
}): boolean;
/** Chat line that is only passive-work status (not prose mentioning it). */
export declare function isPassiveStatusChatLine(text: string): boolean;
/** DOM/system lines that mean the agent is still busy */
export declare function textImpliesAgentWorking(text: string): boolean;
/** Cursor JSONL redacts tool/thinking tails as `[REDACTED]` — not shown in live DOM. */
export declare function stripJsonlRedactionArtifacts(text: string): string;
export declare function isNoiseChatText(text: string): boolean;
/** Markdown / structured answer — must stay in chat lenta even if it mentions bridge symbols. */
export declare function isUserFacingAssistantProse(text: string): boolean;
export declare function isInternalReasoningOutline(text: string): boolean;
/** Chain-of-thought / tool trace rows — not user-facing answers (DOM + JSONL). */
export declare function isAssistantReflectionText(text: string): boolean;
/** Short agent status worth showing (not tool log). */
export declare function isMeaningfulAssistantText(text: string): boolean;
/** Paths from Cursor `<image_files>` blocks (JSONL + DOM text). */
export declare function parseUserImagePaths(text: string): string[];
/** Cursor injects image metadata into user bubbles — hide it in the app. */
export declare function stripUserImageMetadata(text: string): string;
/** Keep in sync with `cleanUserText` in `extract-page.ts` (CDP runs in-page). */
export declare function cleanUserText(text: string): string;
export declare function filterAssistantJsonlParts(parts: string[]): string[];
