import type { Configuration } from './types'; export interface GenerateOptions { /** * Specify the current working directory. Default: `process.cwd()`. */ cwd?: string; /** * Specify the config path. This path will be used to resolve the paths * in the config. Default: `cwd`. */ configPath?: string; /** * Whether to disable the logger. */ disableLogger?: boolean; /** * Custom log function. Default: `console.log`. */ log?: (msg: string) => void; /** * Custom log error function. Default: `console.error`. */ logError?: (msg: string | Error) => void; /** * Specify a function to format the log message. * The default one will prepend the current time to the message. */ formatMessage?: (msg: string) => string; } export declare function generate(config: Configuration, options?: GenerateOptions): Promise;