import { Get, Post } from "./basic";
import { channel } from "./channel";
import { relationship } from "./relationship";
import { rooms } from "./rooms";
import { server } from "./server";
import { users } from "./users";
export interface APIDefaults {
    token: string;
    userAgent: string;
    /** a cf_clearance Cloudflare turnstile token. */
    turnstile: string | null;
}
export declare class API {
    readonly defaults: APIDefaults;
    get: Get;
    post: Post;
    rooms: ReturnType<typeof rooms>;
    server: ReturnType<typeof server>;
    users: ReturnType<typeof users>;
    social: ReturnType<typeof relationship>;
    channel: ReturnType<typeof channel>;
    /** @hideconstructor */
    constructor(options?: Partial<APIDefaults>);
    update(options?: Partial<APIDefaults>): void;
}
export * as APITypes from "./wrapper";
