/**
 * Cache invalidation helpers
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { QueryClient } from '@tanstack/react-query';
/**
// ============================================================================
// Invalidation Helpers
// ============================================================================

 * Type-safe query invalidation helpers
 *
 * @example
 * ```ts
 * // Invalidate all user queries
 * invalidate.user.all(queryClient);
 *
 * // Invalidate user lists
 * invalidate.user.lists(queryClient);
 *
 * // Invalidate specific user
 * invalidate.user.detail(queryClient, userId);
 * ```
 */
export declare const invalidate: {
    /** Invalidate commit queries */ readonly commit: {
        /** Invalidate all commit queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
        /** Invalidate commit list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
        /** Invalidate a specific commit */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
    };
    /** Invalidate getAllTreeNodesRecord queries */ readonly getAllTreeNodesRecord: {
        /** Invalidate all getAllTreeNodesRecord queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
        /** Invalidate getAllTreeNodesRecord list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
        /** Invalidate a specific getAllTreeNodesRecord */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
    };
    /** Invalidate object queries */ readonly object: {
        /** Invalidate all object queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
        /** Invalidate object list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
        /** Invalidate a specific object */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
    };
    /** Invalidate ref queries */ readonly ref: {
        /** Invalidate all ref queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
        /** Invalidate ref list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
        /** Invalidate a specific ref */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
    };
    /** Invalidate store queries */ readonly store: {
        /** Invalidate all store queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
        /** Invalidate store list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
        /** Invalidate a specific store */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
    };
};
/**

// ============================================================================
// Remove Helpers (for delete operations)
// ============================================================================

 * Remove queries from cache (for delete operations)
 *
 * Use these when an entity is deleted to remove it from cache
 * instead of just invalidating (which would trigger a refetch).
 */
export declare const remove: {
    /** Remove commit from cache */ readonly commit: (queryClient: QueryClient, id: string | number) => void;
    /** Remove getAllTreeNodesRecord from cache */ readonly getAllTreeNodesRecord: (queryClient: QueryClient, id: string | number) => void;
    /** Remove object from cache */ readonly object: (queryClient: QueryClient, id: string | number) => void;
    /** Remove ref from cache */ readonly ref: (queryClient: QueryClient, id: string | number) => void;
    /** Remove store from cache */ readonly store: (queryClient: QueryClient, id: string | number) => void;
};
