import { Page } from 'playwright';
/**
 * Extraction engine to pull structured data from the DOM using DSL rules.
 */
export declare class Extractor {
    /**
     * Normalizes keys by removing special characters and converting to snake_case.
     */
    static normalizeKey(key: string): string;
    /**
     * Resolves a selector string from the config (handles string or DSLTarget).
     */
    private static resolveSelector;
    /**
     * Extracts data from the current page based on DSL extraction configuration.
     */
    static extract(page: Page, config: any): Promise<Record<string, string>>;
}
