/**
 * Default membership settings per entity, controlling initial approval and verification state for new 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 { OrgMembershipDefaultSelect, OrgMembershipDefaultWithRelations, OrgMembershipDefaultFilter, OrgMembershipDefaultOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgMembershipDefaultSelect, OrgMembershipDefaultWithRelations, OrgMembershipDefaultFilter, OrgMembershipDefaultOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const orgMembershipDefaultsQueryKey: (variables?: object) => readonly ["orgmembershipdefault", "list", object];
/**
 * Default membership settings per entity, controlling initial approval and verification state for new members
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useOrgMembershipDefaultsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useOrgMembershipDefaultsQuery<S extends OrgMembershipDefaultSelect, TData = {
    orgMembershipDefaults: ConnectionResult<InferSelectResult<OrgMembershipDefaultWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, OrgMembershipDefaultFilter, OrgMembershipDefaultOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgMembershipDefaultSelect>;
} & Omit<UseQueryOptions<{
    orgMembershipDefaults: ConnectionResult<InferSelectResult<OrgMembershipDefaultWithRelations, S>>;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Default membership settings per entity, controlling initial approval and verification state for new members
 *
 * @example
 * ```ts
 * const data = await fetchOrgMembershipDefaultsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchOrgMembershipDefaultsQuery<S extends OrgMembershipDefaultSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, OrgMembershipDefaultFilter, OrgMembershipDefaultOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgMembershipDefaultSelect>;
}): Promise<{
    orgMembershipDefaults: ConnectionResult<InferSelectResult<OrgMembershipDefaultWithRelations, S>>;
}>;
/**
 * Default membership settings per entity, controlling initial approval and verification state for new members
 *
 * @example
 * ```ts
 * await prefetchOrgMembershipDefaultsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchOrgMembershipDefaultsQuery<S extends OrgMembershipDefaultSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, OrgMembershipDefaultFilter, OrgMembershipDefaultOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgMembershipDefaultSelect>;
}): Promise<void>;
