import { type NotionAsCodeIcon, type ResourceId } from "./intents.js"; import { type ChildDatabaseFactory } from "./database.js"; import { type ChildPageArgs, type PageHandle } from "./page.js"; export type TeamspaceArgs = { resourceId: ResourceId; name: string; accessLevel: "default" | "open" | "closed" | "private"; icon?: NotionAsCodeIcon; description?: string; }; export type TeamspaceHandle = { readonly resourceId: string; addDatabase: ChildDatabaseFactory; addPage: (args: ChildPageArgs) => PageHandle; }; /** Declare a teamspace that Apps automatically creates in its workspace. */ export declare function teamspace(args: TeamspaceArgs): TeamspaceHandle; //# sourceMappingURL=teamspace.d.ts.map