import type { ByteSource, Resource as ResourceInterface } from '@enonic-types/core'; import { App } from '../App'; export declare class Resource implements ResourceInterface { private readonly app; readonly path: string; constructor({ app, path, }: { app: App; path: string; }); exists(): boolean; getSize(): number; getStream(): ByteSource; getTimestamp(): number; readText(): string; }