/** * State file path helpers. */ /** * Sanitize asset symbol for DSL filenames (stem after `dsl-` / `dsl-xyz--`). * Replaces any character other than ASCII letters, digits, and `-` with `-`, collapses `-` runs, trims edges. */ export declare function dslAssetPathSegment(asset: string): string; /** * Whether a directory entry is a current-scheme DSL state file we load on hydrate. * Older names (e.g. colons, underscores in the stem) are skipped so they stay on disk but are ignored. */ export declare function isRecognizedDslStateFileName(fileName: string): boolean; export declare function stateKey(address: string, asset: string, dex: string): string; export declare function strategyKey(address: string): string; export declare function stateFilePath(baseDir: string, address: string, asset: string, dex: string): string; export declare function archivedDslPath(baseDir: string, address: string, asset: string, dex: string): string; //# sourceMappingURL=paths.d.ts.map