import { InvalidateQueryFilters, QueryClient, UseQueryResult, UseSuspenseQueryResult } from "@tanstack/react-query"; import { GleanBaseError } from "../models/errors/gleanbaseerror.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import { QueryHookOptions, SuspenseQueryHookOptions, TupleToPrefixes } from "./_types.js"; import { buildGovernanceDownloadfindingsexportQuery, GovernanceDownloadfindingsexportQueryData, prefetchGovernanceDownloadfindingsexport, queryKeyGovernanceDownloadfindingsexport } from "./governanceDownloadfindingsexport.core.js"; export { buildGovernanceDownloadfindingsexportQuery, type GovernanceDownloadfindingsexportQueryData, prefetchGovernanceDownloadfindingsexport, queryKeyGovernanceDownloadfindingsexport, }; export type GovernanceDownloadfindingsexportQueryError = GleanBaseError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Downloads findings export * * @remarks * Downloads a DLP findings export as a CSV file. */ export declare function useGovernanceDownloadfindingsexport(id: string, options?: QueryHookOptions): UseQueryResult; /** * Downloads findings export * * @remarks * Downloads a DLP findings export as a CSV file. */ export declare function useGovernanceDownloadfindingsexportSuspense(id: string, options?: SuspenseQueryHookOptions): UseSuspenseQueryResult; export declare function setGovernanceDownloadfindingsexportData(client: QueryClient, queryKeyBase: [id: string], data: GovernanceDownloadfindingsexportQueryData): GovernanceDownloadfindingsexportQueryData | undefined; export declare function invalidateGovernanceDownloadfindingsexport(client: QueryClient, queryKeyBase: TupleToPrefixes<[id: string]>, filters?: Omit): Promise; export declare function invalidateAllGovernanceDownloadfindingsexport(client: QueryClient, filters?: Omit): Promise; //# sourceMappingURL=governanceDownloadfindingsexport.d.ts.map