import { CommerceAPIOperations } from './editors/ResourcesPicker';
interface OnSaveActions {
    updateSettings(partal: Record<string, any>): Promise<void>;
    addModel(model: Model): Promise<void>;
}
interface Model {
    name: string;
    hideFromUI?: boolean;
    kind: 'data' | 'page' | 'component' | 'function';
}
export interface CommercePluginConfig {
    id: string;
    name: string;
    settings: any[];
    ctaText: string;
    onSave?: (actions: OnSaveActions) => Promise<void>;
    noPreviewTypes?: boolean;
}
export declare const registerCommercePlugin: (config: CommercePluginConfig, apiOperationsFromSettings: (settings: any) => CommerceAPIOperations | Promise<CommerceAPIOperations>) => Promise<void>;
export { Resource } from './interfaces/resource';
export { BuilderRequest } from './interfaces/builder-request';
export { ResourcePreviewCell, ResourcePickerProps, ResourcePreviewCellProps, CommerceAPIOperations, } from './editors/ResourcesPicker';
