import { TSProjectContext } from '@fresha/openapi-codegen-utils'; import type { NamingConvention } from './parts'; import type { Nullable } from '@fresha/api-tools-core'; import type { OperationModel } from '@fresha/openapi-model/build/3.0.3'; import type { SourceFile } from 'ts-morph'; export interface Context extends TSProjectContext { readonly includeDeprecated: boolean; readonly includeInternal: boolean; readonly includedTags: Set; readonly excludedTags: Set; readonly withFormatters: boolean; readonly apiNaming: Nullable; readonly clientNaming: Nullable; } export interface ActionContext extends Context { readonly operation: OperationModel; readonly sourceFile: SourceFile; readonly formattersFile: SourceFile; readonly typesFile: SourceFile; } export interface CreateContextParams { input: string; output: string; jsonApi?: boolean; verbose?: boolean; dryRun?: boolean; withDeprecated?: boolean; withInternal?: boolean; withTags?: string[]; withoutTags?: string[]; withFormatters?: boolean; apiNaming?: NamingConvention; clientNaming?: NamingConvention; } export declare const createContext: (args: CreateContextParams) => Context; //# sourceMappingURL=context.d.ts.map