import { Observable } from 'rxjs'; import { ValtechAuthConfig } from '../auth/types'; import * as i0 from "@angular/core"; export type HandleOwnerType = 'user' | 'org'; export interface HandleResolveResult { handle: string; ownerType: HandleOwnerType; ownerId: string; claimedAt: string; } export interface HandleSearchResult { handle: string; ownerType: HandleOwnerType; ownerId: string; } export interface ResolveHandleResponse { operationId: string; result: HandleResolveResult; } export interface SearchHandlesResponse { operationId: string; results: HandleSearchResult[]; } /** * Acceso al namespace compartido de handles (usuarios + orgs). * Ambos endpoints son públicos (no requieren auth). */ export declare class HandleService { private config; private http; constructor(config: ValtechAuthConfig); private get base(); resolve(handle: string): Observable; search(q: string, limit?: number): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }