import { Workspace } from "../../../../meta/core/resources/workspace/workspace.resource";
import { UserWorkspaces } from "../../../layout/toolbar/workspace-picker/workspace-picker-types";
import { PartialWithId } from "../../../../../fd-toolbox/types/partial-with-id";
import { wellKnownMetaProps } from "../../../../../fd-toolbox-core/constants/meta-constants";
type PartialWorkspace = Pick<Workspace, typeof wellKnownMetaProps.id | "paymentSystemCustomerId">;
/** @monorepo-internal */
export declare function getAllUserWorkspaces(userId: string): Promise<UserWorkspaces>;
/** @monorepo-internal */
export declare function getChildWorkspaces(workspaceId: string): Promise<Workspace[]>;
/** @internal */
export declare function createWorkspace(person: Workspace): Promise<Workspace>;
/** @internal */
export declare function getCurrentWorkspace(): Promise<Workspace>;
/** @monorepo-internal */
export declare function setWorkspacePaymentSystemId(paymentSystemId: string): Promise<import("../../../../../../generated/npm-package").GenericCrudResult<PartialWithId<PartialWorkspace>>>;
/** @monorepo-internal */
export declare function updateWorkspace(workspace: Workspace): Promise<Workspace>;
/** @monorepo-internal */
export declare function updateWorkspacePricingId(workspaceId: string, pricingId: string): Promise<Workspace>;
/** @internal */
export declare function updateWorkspaceIsSetupFinished(workspaceId: string, isSetupFinished: boolean): Promise<Workspace>;
/** @monorepo-internal */
export declare function deleteWorkspace(workspaceId: string): Promise<unknown>;
export {};
