declare const getEndpoint: (endpoint: string, token: string) => Promise; export default getEndpoint;