import { Nullable } from '@fresha/api-tools-core'; import type { NamedType } from './NamedType'; import type { ActionContext } from '../context'; import type { ParameterModel } from '@fresha/openapi-model/build/3.0.3'; import type { FunctionDeclaration } from 'ts-morph'; type ParameterInfo = { parameter: ParameterModel; typeString: string; }; type VariableName = string; type HeaderName = string; export declare class ActionFunc { readonly context: ActionContext; readonly name: string; protected hasQueryParams: boolean; protected readonly parameterVars: Map; protected readonly pathParametesVars: Map; protected readonly headerToSet: Map; protected requestType: Nullable; protected responseType: Nullable; protected parsesResponse: boolean; protected usesAuthCookie: boolean; constructor(context: ActionContext); collectData(namedTypes: Map): void; protected collectParameters(): void; protected collectRequestData(namedTypes: Map): void; protected collectResponseData(namedTypes: Map): void; protected collectAuthData(): void; generateCode(): void; protected generateJsDocs(actionFunc: FunctionDeclaration, actionFuncHasParams: boolean): void; protected generateParameters(actionFunc: FunctionDeclaration): void; protected generateCallUrl(): string; } export {}; //# sourceMappingURL=ActionFunc.d.ts.map