/**
 * 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 { AppInviteSelect, AppInviteWithRelations, AppInviteFilter, AppInviteOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { AppInviteSelect, AppInviteWithRelations, AppInviteFilter, AppInviteOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const appInvitesQueryKey: (variables?: object) => readonly ["appinvite", "list", object];
/**
 * Invitation records sent to prospective members via email, with token-based redemption and expiration
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useAppInvitesQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useAppInvitesQuery<S extends AppInviteSelect, TData = {
    appInvites: ConnectionResult<InferSelectResult<AppInviteWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppInviteFilter, AppInviteOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppInviteSelect>;
} & Omit<UseQueryOptions<{
    appInvites: ConnectionResult<InferSelectResult<AppInviteWithRelations, 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 fetchAppInvitesQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchAppInvitesQuery<S extends AppInviteSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppInviteFilter, AppInviteOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppInviteSelect>;
}): Promise<{
    appInvites: ConnectionResult<InferSelectResult<AppInviteWithRelations, S>>;
}>;
/**
 * Invitation records sent to prospective members via email, with token-based redemption and expiration
 *
 * @example
 * ```ts
 * await prefetchAppInvitesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchAppInvitesQuery<S extends AppInviteSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppInviteFilter, AppInviteOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppInviteSelect>;
}): Promise<void>;
