import { ParserOptions, ProcessedStyle } from './types';
export declare class StyleParser {
    private opts;
    private cache;
    constructor(opts?: ParserOptions);
    process(src: string): ProcessedStyle;
    setFuncs(funcs: Required<ParserOptions>['funcs']): void;
    setUnits(units: Required<ParserOptions>['units']): void;
    updateOptions(patch: Partial<ParserOptions>): void;
    /**
     * Get the current units configuration.
     */
    getUnits(): ParserOptions['units'];
}
export type { StyleDetails, ProcessedStyle } from './types';
