import { Types } from '@graphql-codegen/plugin-helpers';
import { CodegenContext } from './config.cjs';
/**
 * Generates code from the config. Resolves with the generated files.
 * In watch mode, the promise doesn't resolve until the watcher exits, and it resolves with no value.
 */
export declare function generate(input: CodegenContext | (Types.Config & {
    cwd?: string;
}), saveToFile?: boolean): Promise<Types.FileOutput[] | void>;
