/**
 * 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 { ListSelectionConfig } from '../selection';
import type { AppStepSelect, AppStepWithRelations, AppStepFilter, AppStepOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { AppStepSelect, AppStepWithRelations, AppStepFilter, AppStepOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const appStepsQueryKey: (variables?: object) => readonly ["appstep", "list", object];
/**
 * Log of individual user actions toward level requirements; every single step ever taken is recorded here
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useAppStepsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useAppStepsQuery<S extends AppStepSelect, TData = {
    appSteps: ConnectionResult<InferSelectResult<AppStepWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppStepFilter, AppStepOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppStepSelect>;
} & Omit<UseQueryOptions<{
    appSteps: ConnectionResult<InferSelectResult<AppStepWithRelations, S>>;
}, 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 fetchAppStepsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchAppStepsQuery<S extends AppStepSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppStepFilter, AppStepOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppStepSelect>;
}): Promise<{
    appSteps: ConnectionResult<InferSelectResult<AppStepWithRelations, S>>;
}>;
/**
 * Log of individual user actions toward level requirements; every single step ever taken is recorded here
 *
 * @example
 * ```ts
 * await prefetchAppStepsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchAppStepsQuery<S extends AppStepSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppStepFilter, AppStepOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppStepSelect>;
}): Promise<void>;
