import { UseQueryOptions } from '@tanstack/react-query'; import type { PrincipalWithAccessResponse } from '../schemas/PrincipalWithAccessResponse'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface GetV1ListPrincipalsWithAccessQueryQueryParams { moduleType: string; /** * @default 0 */ page?: number; /** * @default 20 */ limit?: number; } export interface GetV1ListPrincipalsWithAccessQueryHeaderParams { 'Harness-Account'?: string; } export type GetV1ListPrincipalsWithAccessOkResponse = ResponseWithPagination<{ principalsWithAccess?: PrincipalWithAccessResponse; }>; export type GetV1ListPrincipalsWithAccessErrorResponse = unknown; export interface GetV1ListPrincipalsWithAccessProps extends Omit, 'url'> { queryParams: GetV1ListPrincipalsWithAccessQueryQueryParams; } export declare function getV1ListPrincipalsWithAccess(props: GetV1ListPrincipalsWithAccessProps): Promise; /** * list */ export declare function useGetV1ListPrincipalsWithAccessQuery(props: GetV1ListPrincipalsWithAccessProps, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;