import { Ct as DistributiveOmit, E as CallApiResult, Et as Writeable, M as GlobalMeta, O as GetBaseSchemaConfig, S as CallApiContext, St as AnyString, _ as ResponseTypeType, _t as InferSchemaOutput, ct as ThrowOnErrorBoolean, d as GetResponseType, dt as BaseCallApiSchemaRoutes, et as ApplyStrictConfig, f as InferCallApiResult, g as ResponseTypeMap, i as CallApiPlugin, k as GetBaseSchemaRoutes, l as CallApiResultSuccessOrErrorVariant, mt as CallApiSchemaConfig, n as DefaultDataType, nt as GetCurrentRouteSchema, ot as InferInitURL, pt as CallApiSchema, r as DefaultPluginArray, rt as GetCurrentRouteSchemaKey, t as DefaultCallApiContext, tt as ApplyURLBasedConfig, u as CallApiResultSuccessVariant, ut as BaseCallApiSchemaAndConfig, v as ResultModeType, vt as InferSchemaResult, wt as NoInferUnMasked, x as CallApiConfig, y as BaseCallApiConfig } from "./default-types-CF53Uvuq.js"; //#region src/createFetchClient.d.ts declare const createFetchClientWithContext: () => , TComputedBaseSchemaRoutes extends BaseCallApiSchemaRoutes = GetBaseSchemaRoutes>(initBaseConfig?: BaseCallApiConfig) => = InferInitURL, TCurrentRouteSchemaKey extends GetCurrentRouteSchemaKey = GetCurrentRouteSchemaKey, const TSchema extends CallApiSchema = GetCurrentRouteSchema, const TPluginArray extends CallApiPlugin[] = TBasePluginArray, TComputedData = InferSchemaOutput>, TComputedErrorData = InferSchemaOutput>, TComputedResult = CallApiResult>(initURL: TInitURL, initConfig?: CallApiConfig) => Promise; declare const createFetchClient: , "deep">, TComputedBaseSchemaRoutes extends BaseCallApiSchemaRoutes = Writeable>(initBaseConfig?: BaseCallApiConfig) => = InferInitURL, TCurrentRouteSchemaKey extends GetCurrentRouteSchemaKey = GetCurrentRouteSchemaKey, const TSchema extends CallApiSchema = GetCurrentRouteSchema & TComputedBaseSchemaRoutes[TCurrentRouteSchemaKey]>>, const TPluginArray extends CallApiPlugin[] = TBasePluginArray, TComputedData = InferSchemaResult>, "infer-output">, TComputedErrorData = InferSchemaResult>, "infer-output">, TComputedResult = InferCallApiResult; fetchApi: Response; onlyData: NoInferUnMasked; onlyResponse: Response; withoutResponse: { data: NoInferUnMasked; error: null; }; }, { all: TThrowOnError extends true ? CallApiResultSuccessVariant : CallApiResultSuccessOrErrorVariant; fetchApi: (TThrowOnError extends true ? CallApiResultSuccessVariant : CallApiResultSuccessOrErrorVariant)["response"]; onlyData: (TThrowOnError extends true ? CallApiResultSuccessVariant : CallApiResultSuccessOrErrorVariant)["data"]; onlyResponse: (TThrowOnError extends true ? CallApiResultSuccessVariant : CallApiResultSuccessOrErrorVariant)["response"]; withoutResponse: DistributiveOmit : CallApiResultSuccessOrErrorVariant, "response"> extends infer T ? { [Key in keyof T]: T[Key] } : never; }>>(initURL: TInitURL, initConfig?: CallApiConfig) => Promise; declare const callApi: > = ApplyStrictConfig>, TCurrentRouteSchemaKey extends GetCurrentRouteSchemaKey = GetCurrentRouteSchemaKey, const TSchema extends CallApiSchema = GetCurrentRouteSchema<{ [x: AnyString]: CallApiSchema | undefined; "@default"?: CallApiSchema | undefined; "@delete/"?: CallApiSchema | undefined; "@get/"?: CallApiSchema | undefined; "@patch/"?: CallApiSchema | undefined; "@post/"?: CallApiSchema | undefined; "@put/"?: CallApiSchema | undefined; }, TCurrentRouteSchemaKey, CallApiSchema | undefined, { [x: AnyString]: CallApiSchema | undefined; "@default"?: CallApiSchema | undefined; "@delete/"?: CallApiSchema | undefined; "@get/"?: CallApiSchema | undefined; "@patch/"?: CallApiSchema | undefined; "@post/"?: CallApiSchema | undefined; "@put/"?: CallApiSchema | undefined; }[TCurrentRouteSchemaKey], NonNullable & { [x: AnyString]: CallApiSchema | undefined; "@default"?: CallApiSchema | undefined; "@delete/"?: CallApiSchema | undefined; "@get/"?: CallApiSchema | undefined; "@patch/"?: CallApiSchema | undefined; "@post/"?: CallApiSchema | undefined; "@put/"?: CallApiSchema | undefined; }[TCurrentRouteSchemaKey]>>, const TPluginArray extends CallApiPlugin[] = DefaultPluginArray, TComputedData = InferSchemaResult>, "infer-output">, TComputedErrorData = InferSchemaResult>, "infer-output">, TComputedResult = InferCallApiResult; fetchApi: Response; onlyData: NoInferUnMasked; onlyResponse: Response; withoutResponse: { data: NoInferUnMasked; error: null; }; }, { all: TThrowOnError extends true ? CallApiResultSuccessVariant : CallApiResultSuccessOrErrorVariant; fetchApi: (TThrowOnError extends true ? CallApiResultSuccessVariant : CallApiResultSuccessOrErrorVariant)["response"]; onlyData: (TThrowOnError extends true ? CallApiResultSuccessVariant : CallApiResultSuccessOrErrorVariant)["data"]; onlyResponse: (TThrowOnError extends true ? CallApiResultSuccessVariant : CallApiResultSuccessOrErrorVariant)["response"]; withoutResponse: DistributiveOmit : CallApiResultSuccessOrErrorVariant, "response"> extends infer T ? { [Key in keyof T]: T[Key] } : never; }>>(initURL: TInitURL, initConfig?: CallApiConfig) => Promise; //#endregion export { createFetchClient as n, createFetchClientWithContext as r, callApi as t }; //# sourceMappingURL=index-BnLH3CAo.d.ts.map