/**
 * @license
 * Copyright 2026 Amodal Labs, Inc.
 * SPDX-License-Identifier: MIT
 */
/**
 * @amodalai/studio — public API.
 *
 * Exports the backend interface, types, auth hooks, startup hooks,
 * error classes, and utilities that external deployments (e.g. cloud-studio)
 * need to build on top of Studio.
 */
export type { StudioBackend } from './backend.js';
export { DrizzleStudioBackend } from './drizzle-backend.js';
export type { DrizzleStudioBackendOptions } from './drizzle-backend.js';
export type { DraftFile, PublishResult, PreviewResult, WorkspaceFile, WorkspaceBundle, BatchChange, BatchChangeAction, BatchRequest, BatchResponse, StudioUser, StudioDeploy, StudioDeployListResponse, ChangeProposal, } from './types.js';
export type { StudioAuth } from './auth.js';
export { getUser, setAuthProvider } from './auth.js';
export type { BackendFactory } from './startup.js';
export { getBackend, setBackendFactory, resetBackend } from './startup.js';
export { StudioError, StudioStorageError, StudioPublishError, StudioPathError, StudioFeatureUnavailableError, } from './errors.js';
export { validateDraftPath } from './draft-path.js';
export { logger } from './logger.js';
export type { Logger } from './logger.js';
export { setStudioDbProvider } from './db.js';
export { disableEventBridge } from './event-bridge.js';
export { getDeployBackend, setDeployBackend } from './deploy-backend.js';
export type { DeployBackend } from './deploy-backend.js';
export { getChangeProposalBackend, setChangeProposalBackend } from './change-proposal-backend.js';
export type { ChangeProposalBackend, CreateChangeProposalInput, CommitProposalChangesInput, DeploySourceInput, } from './change-proposal-backend.js';
