import type { StoreProvider } from '@kubun/db'; import { type SignedRecord } from '@kubun/records'; import { type CatalogDefinition, type CatalogVersionRef } from '@kubun/store-graph'; import type { CatalogAPIDeps, CatalogListing } from './catalog-contract.js'; export type PublishCatalogVersionParams = { provider: StoreProvider; catalogID: string; definition: CatalogDefinition; parents: Array; expectedHeadVersionID: string | null; upstream?: CatalogVersionRef; embeddedBase?: SignedRecord; }; export declare class CatalogPublicationConflictError extends Error { get code(): string; constructor(); } export declare class CatalogPublicationDeniedError extends Error { constructor(); } export declare function publishCatalogVersion(params: PublishCatalogVersionParams, deps: CatalogAPIDeps): Promise;