import { IFoveaStylesHost } from "./i-fovea-styles-host"; import { IFoveaStylesOptions } from "./i-fovea-styles-options"; import { IFoveaStylesResult } from "./i-fovea-styles-result"; import { IPostCSS } from "../postcss/i-postcss"; import { IFoveaStylesTakeVariablesResult } from "./i-fovea-styles-take-variables-result"; import { IFoveaStylesTakeVariablesOptions } from "./i-fovea-styles-take-variables-options"; import { IFoveaStylesTakeImportPathsOptions } from "./i-fovea-styles-take-import-paths-options"; import { IFoveaStylesTakeImportPathsResult } from "./i-fovea-styles-take-import-paths-result"; /** * FoveaStylesHost generates style instructions based on the given style contents. */ export declare class FoveaStylesHost implements IFoveaStylesHost { private readonly postCSS; constructor(postCSS: IPostCSS); /** * Generates style instructions based on the provided options * @param {IFoveaStylesOptions} options * @returns {Promise} */ generate({ file, template, postCSSPlugins, production, pluginConfigurationHook }: IFoveaStylesOptions): Promise; /** * Takes all declared variables from the provided template * @param {string} template * @param {string} file * @returns {Promise} */ takeVariables({ template, file }: IFoveaStylesTakeVariablesOptions): Promise; /** * Takes all import paths from the matched CSS/SCSS * @param {string} template * @param {string} file * @returns {Promise} */ takeImportPaths({ template, file }: IFoveaStylesTakeImportPathsOptions): Promise; /** * Prepares the base options to use for PostCSS * @param {string} template * @param {string} file */ private preparePostCSSBaseOptions; }