filmout_manager/dist/files/index.d.ts

29 lines
822 B
TypeScript
Raw Normal View History

interface SequenceObject {
created: number;
path: string;
hash: string;
name: string;
}
interface VideoObject {
created: number;
path: string;
hash: string;
name: string;
}
interface ImageObject {
path: string;
hash: string;
name: string;
}
export declare class Files {
2024-10-26 21:11:25 +00:00
private static sequencesDir;
static init(sequencesDir: string): Promise<boolean>;
static exists(path: string): Promise<boolean>;
static enumerateSequenceDirs(): Promise<string[]>;
2024-10-26 21:11:25 +00:00
static enumerateSequences(): Promise<SequenceObject[]>;
static isSequence(dirPath: string): Promise<boolean>;
static enumerateVideos(path: string): Promise<VideoObject[]>;
static enumerateSequence(path: string): Promise<ImageObject[]>;
}
export type { SequenceObject, VideoObject, ImageObject };