export default function (endpoint: string): void;