import { RequestOptions } from "./request.js"; //#region src/client.d.ts /** An interface representing options for {@link Client} constructor */ interface ClientOptions { /** * Indicates whether to enable debug mode or not * * @default false */ debug?: boolean; base?: string | URL; } /** A class containing methods for making HTTPS requests to Gumroad API endpoints */ declare class Client { protected accessToken: string; protected debug: boolean; protected base: string; constructor(accessToken: string, options?: ClientOptions); /** * Method for making HTTP requests to Gumroad API * * @param path The path of the endpoint * @param options Options * * @returns On success, the response data */ request = NonNullable>(path: string, options?: RequestOptions): Promise; } //#endregion export { Client, ClientOptions }; //# sourceMappingURL=client.d.ts.map