/** * Format-aware file extension mapping * * Handles the extension differences between cli_v1 and newo_v2: * cli_v1: guidance -> .guidance, nsl -> .jinja * newo_v2: guidance -> .nslg, nsl -> .nsl */ import type { RunnerType } from '../types.js'; import { type FormatVersion } from './types.js'; /** * Get file extension for a runner type in a specific format */ export declare function getExtensionForFormat(runnerType: RunnerType, format: FormatVersion): string; /** * Get runner type from file extension (works for all 4 extensions) */ export declare function getRunnerTypeFromExtension(ext: string): RunnerType; /** * Check if a filename is a recognized script file (any format) */ export declare function isScriptFile(filename: string): boolean; /** * Infer format version from a file extension */ export declare function getFormatFromExtension(ext: string): FormatVersion; //# sourceMappingURL=extensions.d.ts.map