import type { CwaCurrentResourceInterface } from '#cwa/storage/stores/resources/state'; export declare enum CwaResourceTypes { ROUTE = "ROUTE", PAGE = "PAGE", LAYOUT = "LAYOUT", PAGE_DATA = "PAGE_DATA", COMPONENT_GROUP = "COMPONENT_GROUP", COMPONENT_POSITION = "COMPONENT_POSITION", COMPONENT = "COMPONENT" } export interface CwaResource { '@id': string; '@type': string; 'publishedResource'?: string; 'draftResource'?: string; 'uiComponent'?: string; 'sortValue'?: number; 'componentGroup'?: string; '_metadata': { adding?: { instantAdd: boolean; endpoint: string; isPublishable: boolean; }; persisted: boolean; publishable?: { published: boolean; publishedAt: string; }; sortDisplayNumber?: number; [key: string]: any; }; [key: string]: any; } type TypeToAssociatedPropertiesMap = { [T in CwaResourceTypes]: Array; }; export declare function normaliseApiPathPrefix(prefix?: string): string | undefined; export declare class ResourceTypeFromIriCls extends Function { private pathPrefix; setPathPrefix(prefix?: string): void; getPathPrefix(): string | undefined; _call(iri: string): CwaResourceTypes | undefined; } export declare const ResourceTypeFromIri: ResourceTypeFromIriCls; export declare const getResourceTypeFromIri: (iri: string) => CwaResourceTypes | undefined; export declare function getPublishedResourceState(resource: Pick): undefined | boolean; export declare function getPublishedResourceIri(resourceData: CwaResource): string | null; export declare function isCwaResource(obj: any): obj is CwaResource; export declare function isCwaResourceSame(resource1: CwaResource, resource2: CwaResource): boolean; export declare const parentResourceProperties: string[]; export declare const resourceTypeToAssociatedResourceProperties: TypeToAssociatedPropertiesMap; export {};