import { IStylesParser } from "./i-styles-parser";
import { IFileLoader } from "@wessberg/fileloader";
import { IFoveaStyles } from "@fovea/style";
import { IStylesParserResultMapper } from "./i-styles-parser-result";
import { IStylesParserOptions } from "./i-styles-parser-options";
/**
 * A class that helps with parsing some styles
 */
export declare class StylesParser implements IStylesParser {
    private readonly fileLoader;
    private readonly foveaStyles;
    constructor(fileLoader: IFileLoader, foveaStyles: IFoveaStyles);
    /**
     * Parses the styles provided on the given paths
     * @param {string} path
     * @param {T} mode
     * @returns {Promise<IStylesParserResultMapper[T]>}
     */
    parse<T extends keyof IStylesParserResultMapper>({path}: IStylesParserOptions, mode: T): Promise<IStylesParserResultMapper[T]>;
}
