export declare class UrlService { private client; constructor(token: string); create(request: CreateRequest): Promise; delete(request: DeleteRequest): Promise; list(request: ListRequest): Promise; resolve(request: ResolveRequest): Promise; shorten(request: ShortenRequest): Promise; update(request: UpdateRequest): Promise; } export interface CreateRequest { destinationURL?: string; id?: string; } export interface CreateResponse { url?: URLPair; } export interface DeleteRequest { id?: string; shortURL?: string; } export interface DeleteResponse { } export interface ListRequest { shortURL?: string; } export interface ListResponse { urlPairs?: URLPair; } export interface ResolveRequest { id?: string; shortURL?: string; } export interface ResolveResponse { destinationURL?: string; } export interface ShortenRequest { destinationURL?: string; } export interface ShortenResponse { shortURL?: string; } export interface URLPair { created?: string; destinationURL?: string; hitCount?: number; id?: string; shortURL?: string; } export interface UpdateRequest { destinationURL?: string; id?: string; shortURL?: string; } export interface UpdateResponse { }