import { UseMutationOptions } from '@tanstack/react-query'; import type { PrincipalWithAccessResponse } from '../schemas/PrincipalWithAccessResponse'; import type { PrincipalWithAccessFilter } from '../schemas/PrincipalWithAccessFilter'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface PostV1ListPrincipalsWithAccessMutationQueryParams { moduleType: string; /** * @default 0 */ page?: number; /** * @default 20 */ limit?: number; } export interface PostV1ListPrincipalsWithAccessMutationHeaderParams { 'Harness-Account'?: string; } export type PostV1ListPrincipalsWithAccessRequestBody = { filter?: PrincipalWithAccessFilter; }; export type PostV1ListPrincipalsWithAccessOkResponse = ResponseWithPagination<{ principalsWithAccess?: PrincipalWithAccessResponse; }>; export type PostV1ListPrincipalsWithAccessErrorResponse = unknown; export interface PostV1ListPrincipalsWithAccessProps extends Omit, 'url'> { queryParams: PostV1ListPrincipalsWithAccessMutationQueryParams; body: PostV1ListPrincipalsWithAccessRequestBody; } export declare function postV1ListPrincipalsWithAccess(props: PostV1ListPrincipalsWithAccessProps): Promise; /** * Your POST endpoint */ export declare function usePostV1ListPrincipalsWithAccessMutation(options?: Omit, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult;