import type { ComputedRef, Ref } from 'vue'; import type Cwa from '#cwa/cwa'; import type { CwaCurrentResourceInterface } from '#cwa/storage/stores/resources/state'; import type { CwaResourceUtilsOps, IriProp } from './cwa-resource.js'; export interface CwaResourcePluginContext { iri: Ref; resource: ComputedRef; $cwa: Cwa; } export type CwaResourcePlugin = (ctx: CwaResourcePluginContext) => T; type UnionToIntersection = (U extends any ? (x: U) => void : never) extends (x: infer I) => void ? I : never; type PluginResults

[]> = UnionToIntersection<{ [K in keyof P]: P[K] extends CwaResourcePlugin ? R : never; }[number] | Record>; export declare const useCwaComponent:

[]>(props: IriProp, plugins?: [...P], ops?: CwaResourceUtilsOps) => { resource: ComputedRef; exposeMeta: import("./cwa-resource.js").CwaResourceMeta; $cwa: Cwa; getCurrentStyleName: (resource: import("../resources/resource-utils.js").CwaResource) => string | undefined; uiClassNames: ComputedRef; publishedIri: ComputedRef; } & PluginResults

; export {};