import { GetBoardParams, GetFileMetadataParams, GetForumParams, GetOnlineUsersParams, GetPostParams, GetPostVotesParams, GetRecentParams, GetRespectParams, GetSubscriptionsParams, GetTopicsParams, GetUsersParams, MethodType, Options } from './types'; declare class MybbSDK { private readonly originalHost; private readonly path; private readonly format; private readonly charset; private hostname; private protocol; private token; private hash; constructor(host: string | undefined, options?: Options); init(): void; parseUrl(url: string | undefined): void; setToken(token: string): this; withHash(hash: string): this; getBoard(params?: GetBoardParams): Promise; getForums(params?: GetForumParams): Promise; getFunds(): Promise; getSubscriptions(params: GetSubscriptionsParams): Promise; getFileMetadata(params: GetFileMetadataParams): Promise; auth(login: string, password: string): Promise; getUsers(params: GetUsersParams): Promise; getOnlineUsers(params?: GetOnlineUsersParams): Promise; getRespect(params?: GetRespectParams): Promise; getTopics(params: GetTopicsParams): Promise; getRecent(params?: GetRecentParams): Promise; getPosts(params?: GetPostParams): Promise; getPostVotes(params?: GetPostVotesParams): Promise; storageSet(key: string, value: string, action?: 'append' | 'prepend'): Promise; storageGet(key: string): Promise; storageKeys(): Promise; storageDelete(key: string): Promise; storageFlush(): Promise; call(method: MethodType, params?: Record, successCallback?: (response: any) => ({}), errorCallback?: (error: any) => ({})): Promise; request(requestObject: Record, requestParams: Record): Promise; } export default MybbSDK;