/**
 * List query hook for OrgGetSubordinatesRecord
 * @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 { OrgGetSubordinatesRecordSelect, OrgGetSubordinatesRecordWithRelations, OrgGetSubordinatesRecordFilter, OrgGetSubordinatesRecordsOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgGetSubordinatesRecordSelect, OrgGetSubordinatesRecordWithRelations, OrgGetSubordinatesRecordFilter, OrgGetSubordinatesRecordsOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const orgGetSubordinatesQueryKey: (variables?: object) => readonly ["orggetsubordinatesrecord", "list", object];
/**
 * Query hook for fetching OrgGetSubordinatesRecord list
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useOrgGetSubordinatesQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useOrgGetSubordinatesQuery<S extends OrgGetSubordinatesRecordSelect, TData = {
    orgGetSubordinates: ConnectionResult<InferSelectResult<OrgGetSubordinatesRecordWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, OrgGetSubordinatesRecordFilter, OrgGetSubordinatesRecordsOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgGetSubordinatesRecordSelect>;
} & Omit<UseQueryOptions<{
    orgGetSubordinates: ConnectionResult<InferSelectResult<OrgGetSubordinatesRecordWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Fetch OrgGetSubordinatesRecord list without React hooks
 *
 * @example
 * ```ts
 * const data = await fetchOrgGetSubordinatesQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchOrgGetSubordinatesQuery<S extends OrgGetSubordinatesRecordSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, OrgGetSubordinatesRecordFilter, OrgGetSubordinatesRecordsOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgGetSubordinatesRecordSelect>;
}): Promise<{
    orgGetSubordinates: ConnectionResult<InferSelectResult<OrgGetSubordinatesRecordWithRelations, S>>;
}>;
/**
 * Prefetch OrgGetSubordinatesRecord list for SSR or cache warming
 *
 * @example
 * ```ts
 * await prefetchOrgGetSubordinatesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchOrgGetSubordinatesQuery<S extends OrgGetSubordinatesRecordSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, OrgGetSubordinatesRecordFilter, OrgGetSubordinatesRecordsOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgGetSubordinatesRecordSelect>;
}): Promise<void>;
