scriptable-testlab
Version:
A lightweight, efficient tool designed to manage and update scripts for Scriptable.
23 lines (20 loc) • 678 B
text/typescript
import { AbsPath } from 'scriptable-abstract';
interface PathState {
components: string[];
}
declare class MockPath extends AbsPath<PathState> {
constructor(components?: string[]);
get components(): string[];
static parse(pathString: string): Path;
static join(...paths: string[]): Path;
static documentsDirectory(): Path;
static libraryDirectory(): Path;
static temporaryDirectory(): Path;
static cacheDirectory(): Path;
toString(): string;
appendComponent(component: string): Path;
appendingComponent(component: string): Path;
lastComponent(): string | null;
lastPathComponent(): string | null;
}
export { MockPath };