import { ListrTask } from 'listr2'; interface Config { verbose?: boolean; endpoint?: string; output?: string; packageName?: string; headers?: Record; scalarTypes?: { [k: string]: string; }; sortProperties?: boolean; silent?: boolean; banner?: string; /** * Will compare the schema hash with the previous one to decide if the client should be regenerated. */ previousSchemaHash?: string; } declare const generate: (config: Config) => Promise; type OutputContextRef = { current: { preventedClientGeneration: boolean; schemaHash: string; }; }; declare const clientTasks: (config: Config, outputContextRef: OutputContextRef) => ListrTask[]; export { type Config, type OutputContextRef as O, clientTasks as c, generate };