Urara-Blog/node_modules/.pnpm-store/v3/files/a5/d852dbc76f853cea4fecfc13aefd8c5dd2571fbe6df378befe970522dbe3d2cfdbc6005bef26d15f02cf5d94c7f12e97dc0c538f109dfe664bcb5a686060d8
2022-08-14 01:14:53 +08:00

38 lines
882 B
Text

export = pluginCreator;
/** @typedef {{preferredQuote?: 'double' | 'single'}} Options */
/**
* @type {import('postcss').PluginCreator<Options>}
* @param {Options} opts
* @return {import('postcss').Plugin}
*/
declare function pluginCreator(opts: Options): import('postcss').Plugin;
declare namespace pluginCreator {
export { postcss, StringAstNode, StringAst, Options };
}
type Options = {
preferredQuote?: 'double' | 'single';
};
declare var postcss: true;
type StringAstNode = {
type: string;
value: string;
} | {
type: string;
value: string;
} | {
type: string;
value: string;
} | {
type: string;
value: string;
};
type StringAst = {
nodes: StringAstNode[];
types: {
escapedSingleQuote: number;
escapedDoubleQuote: number;
singleQuote: number;
doubleQuote: number;
};
quotes: boolean;
};