/**
 * Records of ownership transfers and grants between members
 * @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 { OrgOwnerGrantSelect, OrgOwnerGrantWithRelations, OrgOwnerGrantFilter, OrgOwnerGrantOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgOwnerGrantSelect, OrgOwnerGrantWithRelations, OrgOwnerGrantFilter, OrgOwnerGrantOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const orgOwnerGrantsQueryKey: (variables?: object) => readonly ["orgownergrant", "list", object];
/**
 * Records of ownership transfers and grants between members
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useOrgOwnerGrantsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useOrgOwnerGrantsQuery<S extends OrgOwnerGrantSelect, TData = {
    orgOwnerGrants: ConnectionResult<InferSelectResult<OrgOwnerGrantWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, OrgOwnerGrantFilter, OrgOwnerGrantOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgOwnerGrantSelect>;
} & Omit<UseQueryOptions<{
    orgOwnerGrants: ConnectionResult<InferSelectResult<OrgOwnerGrantWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Records of ownership transfers and grants between members
 *
 * @example
 * ```ts
 * const data = await fetchOrgOwnerGrantsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchOrgOwnerGrantsQuery<S extends OrgOwnerGrantSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, OrgOwnerGrantFilter, OrgOwnerGrantOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgOwnerGrantSelect>;
}): Promise<{
    orgOwnerGrants: ConnectionResult<InferSelectResult<OrgOwnerGrantWithRelations, S>>;
}>;
/**
 * Records of ownership transfers and grants between members
 *
 * @example
 * ```ts
 * await prefetchOrgOwnerGrantsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchOrgOwnerGrantsQuery<S extends OrgOwnerGrantSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, OrgOwnerGrantFilter, OrgOwnerGrantOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgOwnerGrantSelect>;
}): Promise<void>;
