uni-ticket-system/node_modules/@dcloudio/uni-nvue-styler/dist/uni-nvue-styler.d.ts

34 lines
946 B
TypeScript
Raw Normal View History

2023-12-05 02:11:10 +00:00
import { Container } from 'postcss';
import { Document as Document_2 } from 'postcss';
import type { Plugin as Plugin_2 } from 'postcss';
import postcss from 'postcss';
import { Root } from 'postcss';
export declare function expand(options: NormalizeOptions): Plugin_2;
export declare function normalize(opts?: NormalizeOptions): Plugin_2;
declare interface NormalizeOptions {
logLevel?: 'NOTE' | 'WARNING' | 'ERROR';
type?: 'nvue' | 'uvue';
platform?: typeof process.env.UNI_UTS_PLATFORM;
}
export declare function objectifier(node: Root | Document_2 | Container | null): Record<string, unknown>;
export declare function parse(input: string, options?: ParseOptions): Promise<{
code: string;
messages: postcss.Message[];
}>;
declare interface ParseOptions extends NormalizeOptions {
filename?: string;
map?: boolean;
mapOf?: boolean;
ts?: boolean;
chunk?: number;
noCode?: boolean;
}
export { }