UNPKG

@chakra-ui/cli

Version:

Generate theme typings for autocomplete

12 lines (11 loc) 511 B
import type { SystemContext } from "@chakra-ui/react"; interface ReadResult { mod: SystemContext; dependencies: string[]; } export declare const read: (file: string) => Promise<ReadResult>; export declare function ensureDir(dirPath: string): void; export declare const write: (path: string, file: string, content: Promise<string>) => Promise<void>; export declare function watch(paths: string[], cb: () => Promise<void>): void; export declare function clean(basePath: string): Promise<void>; export {};