import { ITGitRequestConfig } from '.'; import { IPerPageParams, ProjectId } from './base'; type NamespaceKind = 'User' | 'Group'; export type INamespaces = ( params: IPerPageParams & { search?: string; }, requestOptions?: ITGitRequestConfig, ) => Promise< { id: ProjectId; path: string; kind: NamespaceKind; }[] >;