import { IFile } from '../util/types'; import { StreamModel } from './model.stream'; export declare class File extends StreamModel implements IFile { #private; static endpoint: string; static attributes: string[]; name: string; type: string | undefined; size: number; published: boolean; constructor(name?: string, type?: string); getAttributes(): string[]; getUrl(): string; static fetchById: (id: string) => Promise; static fetch: () => Promise; }