UNPKG

@sanity-codegen/cli

Version:
18 lines 548 B
/// <reference types="@sanity-codegen/types/common" /> import { SanityCodegenConfig } from './types'; interface GetConfigOptions { flags: { configPath?: string; babelOptions?: string; babelrcPath?: string; }; logger: Sanity.Codegen.Logger; } export declare function getConfig({ flags, logger }: GetConfigOptions): Promise<{ config: SanityCodegenConfig | null; babelrcPath: string | null; babelOptions: Record<string, unknown>; root: string; }>; export {}; //# sourceMappingURL=get-config.d.ts.map