import { MutationKey, UseMutationResult } from "@tanstack/react-query"; import { SDKCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKError } from "../models/errors/sdkerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import * as operations from "../models/operations/index.js"; import { MutationHookOptions } from "./_types.js"; export type Schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPostMutationVariables = { request: operations.CreateIntentApiV1SandboxGithubOauthIntentsPostRequest; options?: RequestOptions; }; export type Schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPostMutationData = components.AuthorizeIntent; export type Schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPostMutationError = SDKError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError; /** * Create Intent */ export declare function useSchema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPostMutation(options?: MutationHookOptions): UseMutationResult; export declare function mutationKeySchema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost(): MutationKey; export declare function buildSchema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPostMutation(client$: SDKCore, hookOptions?: RequestOptions): { mutationKey: MutationKey; mutationFn: (variables: Schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPostMutationVariables) => Promise; }; //# sourceMappingURL=schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.d.ts.map