import type { CdpClient } from './cdp-client.js';
import type { ExtractedPageState, SelectorConfig } from './types.js';
/**
 * Runs inside Cursor renderer — must be self-contained.
 */
export declare function extractionFunction(containerSelectors: string[], tabSelectors: string[], editorAuxiliaryTabSelectors: string[], inputSelectors: string[], approveSelectors: string[], approveTextMatch: string[], rejectSelectors: string[], rejectTextMatch: string[]): ExtractedPageState | null;
/**
 * Agents sidebar only (list view has no composer container).
 * Keeps `hasUnread` / working markers fresh when full extract returns null.
 */
export declare function agentsSidebarListExtraction(tabSelectors: string[], editorAuxiliaryTabSelectors: string[]): {
    workspace?: string;
    tabs: NonNullable<ExtractedPageState['tabs']>;
    sidebarRepos: NonNullable<ExtractedPageState['sidebarRepos']>;
} | null;
export declare function extractPageState(client: CdpClient, selectors: SelectorConfig): Promise<ExtractedPageState | null>;
