import { Client } from "./client.js"; import { Document } from "./document.js"; /** * The entry point of the library * * ### Basic example * * ```ts * import { WorkFlowy } from "workflowy" * * const workflowy = new WorkFlowy("username", "password"); * const document = await workflowy.getDocument(); * * console.log(String(document.root)) * ``` */ export declare class WorkFlowy { #private; constructor(username: string, password: string); /** * Returns the WorkFlowy client instance that is used to fetch and update * data in WorkFlowy. * * @returns {Client} */ getClient(): Client; /** * Loads data from WorkFlowy and creates an interactive document out of it * * @param includeSharedLists whether to download dependent shared lists * @returns {Promise} WorkFlowy outline */ getDocument(includeSharedLists?: boolean): Promise; } //# sourceMappingURL=workflowy.d.ts.map