import { MutationKey, UseMutationResult } from "@tanstack/react-query"; import { GleanCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; 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 { MutationHookOptions } from "./_types.js"; export type ClientAnswersListMutationVariables = { listAnswersRequest: components.ListAnswersRequest; locale?: string | undefined; options?: RequestOptions; }; export type ClientAnswersListMutationData = components.ListAnswersResponse; export type ClientAnswersListMutationError = GleanBaseError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * List Answers * * @remarks * List Answers created by the current user. * * @deprecated method: Deprecated on 2026-01-21, removal scheduled for 2026-10-15: Answer boards have been removed and this endpoint no longer serves a purpose. */ export declare function useClientAnswersListMutation(options?: MutationHookOptions): UseMutationResult; export declare function mutationKeyClientAnswersList(): MutationKey; export declare function buildClientAnswersListMutation(client$: GleanCore, hookOptions?: RequestOptions): { mutationKey: MutationKey; mutationFn: (variables: ClientAnswersListMutationVariables) => Promise; }; //# sourceMappingURL=clientAnswersList.d.ts.map