import type { CuiNullable } from '@cuby-ui/cdk'; export interface Frame { id: string; fragments: Fragment[]; } export type Fragment = JTextFragment | ResourceFragment; export declare const enum FragmentType { jText = "J_TEXT", resourceFile = "RESOURCE_FILE" } export interface JTextFragment { readonly id: string; readonly type: FragmentType.jText; readonly notEmpty: boolean; } export interface ResourceFragment { readonly id: string; readonly type: FragmentType.resourceFile; readonly name: CuiNullable; readonly fileId: CuiNullable; readonly resource: CuiNullable; }