/**
 * Invitation records sent to prospective members via email, with token-based redemption and expiration
 * @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 { OrgInviteSelect, OrgInviteWithRelations, OrgInviteFilter, OrgInviteOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgInviteSelect, OrgInviteWithRelations, OrgInviteFilter, OrgInviteOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const orgInvitesQueryKey: (variables?: object) => readonly ["orginvite", "list", object];
/**
 * Invitation records sent to prospective members via email, with token-based redemption and expiration
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useOrgInvitesQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useOrgInvitesQuery<S extends OrgInviteSelect, TData = {
    orgInvites: ConnectionResult<InferSelectResult<OrgInviteWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, OrgInviteFilter, OrgInviteOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgInviteSelect>;
} & Omit<UseQueryOptions<{
    orgInvites: ConnectionResult<InferSelectResult<OrgInviteWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Invitation records sent to prospective members via email, with token-based redemption and expiration
 *
 * @example
 * ```ts
 * const data = await fetchOrgInvitesQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchOrgInvitesQuery<S extends OrgInviteSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, OrgInviteFilter, OrgInviteOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgInviteSelect>;
}): Promise<{
    orgInvites: ConnectionResult<InferSelectResult<OrgInviteWithRelations, S>>;
}>;
/**
 * Invitation records sent to prospective members via email, with token-based redemption and expiration
 *
 * @example
 * ```ts
 * await prefetchOrgInvitesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchOrgInvitesQuery<S extends OrgInviteSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, OrgInviteFilter, OrgInviteOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgInviteSelect>;
}): Promise<void>;
