/**
 * Organizational chart edges defining parent-child reporting relationships between members within an entity
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
import type { OrgChartEdgeSelect, OrgChartEdgeWithRelations } from '../../orm/input-types';
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
export type { OrgChartEdgeSelect, OrgChartEdgeWithRelations } from '../../orm/input-types';
/** Query key factory - re-exported from query-keys.ts */
export declare const orgChartEdgeQueryKey: (id: string | number) => readonly ["orgchartedge", "detail", string | number];
/**
 * Organizational chart edges defining parent-child reporting relationships between members within an entity
 *
 * @example
 * ```tsx
 * const { data, isLoading } = useOrgChartEdgeQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true, name: true } },
 * });
 * ```
 */
export declare function useOrgChartEdgeQuery<S extends OrgChartEdgeSelect, TData = {
    orgChartEdge: InferSelectResult<OrgChartEdgeWithRelations, S> | null;
}>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, OrgChartEdgeSelect>;
} & Omit<UseQueryOptions<{
    orgChartEdge: InferSelectResult<OrgChartEdgeWithRelations, S> | null;
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
/**
 * Organizational chart edges defining parent-child reporting relationships between members within an entity
 *
 * @example
 * ```ts
 * const data = await fetchOrgChartEdgeQuery({
 *   id: 'some-id',
 *   selection: { fields: { id: true } },
 * });
 * ```
 */
export declare function fetchOrgChartEdgeQuery<S extends OrgChartEdgeSelect>(params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, OrgChartEdgeSelect>;
}): Promise<{
    orgChartEdge: InferSelectResult<OrgChartEdgeWithRelations, S> | null;
}>;
/**
 * Organizational chart edges defining parent-child reporting relationships between members within an entity
 *
 * @example
 * ```ts
 * await prefetchOrgChartEdgeQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
 * ```
 */
export declare function prefetchOrgChartEdgeQuery<S extends OrgChartEdgeSelect>(queryClient: QueryClient, params: {
    id: string;
    selection: {
        fields: S;
    } & HookStrictSelect<NoInfer<S>, OrgChartEdgeSelect>;
}): Promise<void>;
