import type { Translation } from '../interfaces'; /** Type of component */ export type ComponentType = 'Block' | 'Page' | 'ExposedComponent' | 'Component'; /** * Information about an Otter component to provide */ export interface OtterComponentInfoToProvide { /** Type of component */ componentType: ComponentType; } /** * Information about an Otter component */ export interface OtterComponentInfo extends OtterComponentInfoToProvide { /** Configuration ID */ configId?: string; /** Translation keys */ translations?: Translation; /** Component Name */ componentName: string; } /** * Private field where Otter component information are stored */ export declare const otterComponentInfoPropertyName = "__otter-info__"; /** * Decorates an Angular component to provide Otter information * @param info Information to define the Otter component * @returns the component with the information */ export declare function O3rComponent(info: OtterComponentInfoToProvide): object>(constructor: T) => T; //# sourceMappingURL=component-decorator.d.ts.map