export declare function formatEndpoint(endpoint: string, ...params: any[]): string;