import { t as __name } from "./chunk--u3MIqq1.js"; import { i as MutationKey, n as PluginSwr, r as QueryKey } from "./types-BO2g17u7.js"; import { OperationSchemas } from "@kubb/plugin-oas"; import { Operation } from "@kubb/oas"; import { FunctionParams } from "@kubb/react-fabric"; import { FabricReactNode } from "@kubb/react-fabric/types"; //#region src/components/Mutation.d.ts type Props$2 = { /** * Name of the function */ name: string; typeName: string; clientName: string; mutationKeyName: string; mutationKeyTypeName: string; typeSchemas: OperationSchemas; operation: Operation; paramsCasing: PluginSwr['resolvedOptions']['paramsCasing']; paramsType: PluginSwr['resolvedOptions']['paramsType']; dataReturnType: PluginSwr['resolvedOptions']['client']['dataReturnType']; pathParamsType: PluginSwr['resolvedOptions']['pathParamsType']; /** * When true, mutation parameters are passed via trigger() instead of as hook arguments * @default false */ paramsToTrigger?: boolean; }; declare function Mutation({ name, clientName, mutationKeyName, mutationKeyTypeName, paramsType, paramsCasing, pathParamsType, dataReturnType, typeSchemas, operation, paramsToTrigger }: Props$2): FabricReactNode; //#endregion //#region src/components/Query.d.ts type Props$1 = { /** * Name of the function */ name: string; queryOptionsName: string; queryKeyName: string; queryKeyTypeName: string; typeSchemas: OperationSchemas; paramsCasing: PluginSwr['resolvedOptions']['paramsCasing']; paramsType: PluginSwr['resolvedOptions']['paramsType']; pathParamsType: PluginSwr['resolvedOptions']['pathParamsType']; dataReturnType: PluginSwr['resolvedOptions']['client']['dataReturnType']; operation: Operation; }; declare function Query({ name, typeSchemas, queryKeyName, queryKeyTypeName, queryOptionsName, operation, dataReturnType, paramsType, paramsCasing, pathParamsType }: Props$1): FabricReactNode; //#endregion //#region src/components/QueryOptions.d.ts type Props = { name: string; clientName: string; typeSchemas: OperationSchemas; paramsCasing: PluginSwr['resolvedOptions']['paramsCasing']; paramsType: PluginSwr['resolvedOptions']['paramsType']; pathParamsType: PluginSwr['resolvedOptions']['pathParamsType']; }; type GetParamsProps = { paramsType: PluginSwr['resolvedOptions']['paramsType']; paramsCasing: PluginSwr['resolvedOptions']['paramsCasing']; pathParamsType: PluginSwr['resolvedOptions']['pathParamsType']; typeSchemas: OperationSchemas; }; declare function QueryOptions({ name, clientName, typeSchemas, paramsCasing, paramsType, pathParamsType }: Props): FabricReactNode; declare namespace QueryOptions { var getParams: ({ paramsType, paramsCasing, pathParamsType, typeSchemas }: GetParamsProps) => FunctionParams; } //#endregion export { Mutation, MutationKey, Query, QueryKey, QueryOptions }; //# sourceMappingURL=components.d.ts.map