/**
 * 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 { AppMembershipDefaultSelect, AppMembershipDefaultWithRelations, AppMembershipDefaultFilter, AppMembershipDefaultOrderBy } from '../../orm/input-types';
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
export type { AppMembershipDefaultSelect, AppMembershipDefaultWithRelations, AppMembershipDefaultFilter, AppMembershipDefaultOrderBy, } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const appMembershipDefaultsQueryKey: (variables?: object) => readonly ["appmembershipdefault", "list", object];
/**
 * Default membership settings per entity, controlling initial approval and verification state for new members
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useAppMembershipDefaultsQuery({
 *   selection: {
 *     fields: { id: true, name: true },
 *     where: { name: { equalTo: "example" } },
 *     orderBy: ['CREATED_AT_DESC'],
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function useAppMembershipDefaultsQuery<S extends AppMembershipDefaultSelect, TData = {
    appMembershipDefaults: ConnectionResult<InferSelectResult<AppMembershipDefaultWithRelations, S>>;
}>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppMembershipDefaultFilter, AppMembershipDefaultOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppMembershipDefaultSelect>;
} & Omit<UseQueryOptions<{
    appMembershipDefaults: ConnectionResult<InferSelectResult<AppMembershipDefaultWithRelations, 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 fetchAppMembershipDefaultsQuery({
 *   selection: {
 *     fields: { id: true },
 *     first: 10,
 *   },
 * });
 * ```
 */
export declare function fetchAppMembershipDefaultsQuery<S extends AppMembershipDefaultSelect>(params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppMembershipDefaultFilter, AppMembershipDefaultOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppMembershipDefaultSelect>;
}): Promise<{
    appMembershipDefaults: ConnectionResult<InferSelectResult<AppMembershipDefaultWithRelations, S>>;
}>;
/**
 * Default membership settings per entity, controlling initial approval and verification state for new members
 *
 * @example
 * ```ts
 * await prefetchAppMembershipDefaultsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
 * ```
 */
export declare function prefetchAppMembershipDefaultsQuery<S extends AppMembershipDefaultSelect>(queryClient: QueryClient, params: {
    selection: {
        fields: S;
    } & Omit<ListSelectionConfig<S, AppMembershipDefaultFilter, AppMembershipDefaultOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppMembershipDefaultSelect>;
}): Promise<void>;
