UNPKG

@johnmusans/arcadia-ui-style-engine

Version:

Shared style system logic and types for Arcadia UI components

12 lines 439 B
import type { SourceFile } from "ts-morph"; import type { Style } from "../../types"; export interface TransformOpts { filename: string; raw: string; style: Style; } export type Transformer<Output = SourceFile> = (opts: TransformOpts & { sourceFile: SourceFile; }) => Promise<Output>; export declare function transform(opts: TransformOpts, transformers?: Transformer[]): Promise<string>; //# sourceMappingURL=index.d.ts.map