/**
 * Log of individual user actions toward level requirements; every single step ever taken is recorded here
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { AppStepSelect, AppStepWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { AppStepSelect, AppStepWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const appStepQueryKey: (id: string | number) => readonly ["appstep", "detail", string | number];
/**
 * Log of individual user actions toward level requirements; every single step ever taken is recorded here
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useAppStepQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useAppStepQuery<S extends AppStepSelect, TData = {
    appStep: InferSelectResult<AppStepWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AppStepSelect>;
} & Omit<UseQueryOptions<{
    appStep: InferSelectResult<AppStepWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Log of individual user actions toward level requirements; every single step ever taken is recorded here
 *
 * @example
 * ```ts
 * const data = await fetchAppStepQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchAppStepQuery<S extends AppStepSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AppStepSelect>;
}): Promise<{
    appStep: InferSelectResult<AppStepWithRelations, S> | null;
}>;
/**
 * Log of individual user actions toward level requirements; every single step ever taken is recorded here
 *
 * @example
 * ```ts
 * await prefetchAppStepQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchAppStepQuery<S extends AppStepSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, AppStepSelect>;
}): Promise<void>;
