/**
 * Commit history — each commit snapshots a tree root for a store
 * @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 { FunctionGraphCommitSelect, FunctionGraphCommitWithRelations, FunctionGraphCommitFilter, FunctionGraphCommitOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { FunctionGraphCommitSelect, FunctionGraphCommitWithRelations, FunctionGraphCommitFilter, FunctionGraphCommitOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const functionGraphCommitsQueryKey: (variables?: object) => readonly ["functiongraphcommit", "list", object];
/**
 * Commit history — each commit snapshots a tree root for a store
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useFunctionGraphCommitsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useFunctionGraphCommitsQuery<S extends FunctionGraphCommitSelect, TData = {
    functionGraphCommits: ConnectionResult<InferSelectResult<FunctionGraphCommitWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, FunctionGraphCommitFilter, FunctionGraphCommitOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionGraphCommitSelect>;
} & Omit<UseQueryOptions<{
    functionGraphCommits: ConnectionResult<InferSelectResult<FunctionGraphCommitWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Commit history — each commit snapshots a tree root for a store
 *
 * @example
 * ```ts
 * const data = await fetchFunctionGraphCommitsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchFunctionGraphCommitsQuery<S extends FunctionGraphCommitSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, FunctionGraphCommitFilter, FunctionGraphCommitOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionGraphCommitSelect>;
}): Promise<{
    functionGraphCommits: ConnectionResult<InferSelectResult<FunctionGraphCommitWithRelations, S>>;
}>;
/**
 * Commit history — each commit snapshots a tree root for a store
 *
 * @example
 * ```ts
 * await prefetchFunctionGraphCommitsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchFunctionGraphCommitsQuery<S extends FunctionGraphCommitSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, FunctionGraphCommitFilter, FunctionGraphCommitOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, FunctionGraphCommitSelect>;
}): Promise<void>;
