import { type EmptyToVoid, type InferRouteError, type InferRouteOptions, type InferRouteOutput, type ParsedPathAndMethod } from '@aydee-app/eden'; import { type CreateBaseQueryOptions, type CreateQueryOptions, type CreateQueryResult, type DefinedCreateQueryResult, type InitialDataFunction, type SkipToken, type StoreOrVal } from '@tanstack/svelte-query'; import type { RouteSchema } from 'elysia'; import type { EdenQueryConfig } from '../../config'; import type { EdenContextState } from '../../context'; import type { DistributiveOmit } from '../../utils/types'; import type { EdenQueryBaseOptions } from '../internal/query-base-options'; import type { WithEdenQueryExtension } from '../internal/query-hook-extension'; export type EdenCreateQueryOptions = DistributiveOmit, 'queryKey'> & EdenQueryBaseOptions; export type EdenDefinedCreateQueryOptions = DistributiveOmit, 'queryKey'> & EdenQueryBaseOptions & { initialData: InitialDataFunction | TQueryOptsData; }; export type EdenCreateQueryResult = WithEdenQueryExtension>; export type EdenDefinedCreateQueryResult = WithEdenQueryExtension>; export interface EdenCreateQuery['query'], TOutput = InferRouteOutput, TError = InferRouteError> { (input: StoreOrVal>, options: EdenDefinedCreateQueryOptions): EdenDefinedCreateQueryResult; (input: StoreOrVal | SkipToken>, options?: EdenCreateQueryOptions): EdenCreateQueryResult; } export declare function edenCreateQueryOptions(parsedPathsAndMethod: ParsedPathAndMethod, context: EdenContextState, input?: InferRouteOptions | SkipToken, options?: EdenCreateQueryOptions, config?: EdenQueryConfig): CreateQueryOptions; //# sourceMappingURL=create-query.d.ts.map