import { UseQueryOptions } from '@tanstack/react-query'; import type { ListPrincipalsResponseV3Response } from '../responses/ListPrincipalsResponseV3Response'; import type { ErrorV3 } from '../schemas/ErrorV3'; import type { ResponseWithPagination } from '../helpers'; import { FetcherOptions } from '../../../../fetcher/index.js'; export interface ListPrincipalsV3QueryQueryParams { account_identifier: string; org_identifier?: string; project_identifier?: string; /** * @format int64 * @default 0 */ page?: number; /** * @format int64 * @default 20 */ size?: number; search_term?: string; principal_type?: 'USER'; } export type ListPrincipalsV3OkResponse = ResponseWithPagination; export type ListPrincipalsV3ErrorResponse = ErrorV3; export interface ListPrincipalsV3Props extends Omit, 'url'> { queryParams: ListPrincipalsV3QueryQueryParams; } export declare function listPrincipalsV3(props: ListPrincipalsV3Props): Promise; /** * Lists Principals */ export declare function useListPrincipalsV3Query(props: ListPrincipalsV3Props, options?: Omit, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult;