export { AwsSigV4 } from './AwsSigV4';
export declare const FileChecker: {
    exists(filePath: string): boolean;
};
/**
 * Common utilities - Sealed namespace for immutability
 */
export declare const CommonUtils: Readonly<{
    /**
     * Resolve npm executable path from Node.js installation
     */
    resolveNpmPath(): string;
    /**
     * RUNTIME UTILITIES
     */
    /**
     * Async delay helper. No-ops when timers are unavailable.
     */
    delay(ms: number): Promise<void>;
    /**
     * Resolve an ESM `import.meta.url` to a filesystem path.
     */
    esmFilePath(metaUrl: string | URL): string;
    /**
     * Resolve an ESM `import.meta.url` to a filesystem directory.
     */
    esmDirname(metaUrl: string | URL): string;
    /**
     * STRING UTILITIES
     */
    /**
     * Convert string to camelCase
     */
    camelCase(str: string): string;
    /**
     * Convert string to snake_case
     */
    toSnakeCase(str: string): string;
    /**
     * Convert string to PascalCase
     */
    toPascalCase(str: string): string;
    /**
     * FILE SYSTEM UTILITIES
     */
    /**
     * Check if file exists
     */
    fileExists(filePath: string): boolean;
    /**
     * Ensure directory exists, create if missing
     */
    ensureDir(dirPath: string): void;
    /**
     * Best-effort variant of ensureDir() that never throws.
     */
    ensureDirSafe(dirPath: string): void;
    /**
     * Read file contents as string
     */
    readFile(filePath: string): string;
    /**
     * Read file contents as string (async)
     */
    readFileAsync(filePath: string): Promise<string>;
    /**
     * Write file with optional directory creation
     */
    writeFile(filePath: string, content: string, createDir?: boolean): void;
    /**
     * Write file with optional directory creation (async)
     */
    writeFileAsync(filePath: string, content: string, createDir?: boolean): Promise<void>;
    /**
     * Delete file if it exists
     */
    deleteFile(filePath: string): void;
    /**
     * TIMESTAMP UTILITIES
     */
    /**
     * Get current timestamp in ISO format
     */
    getCurrentTimestamp(): string;
    /**
     * Format timestamp for filenames (YYYY-MM-DDTHH-MM-SS-SSSZ)
     */
    formatTimestamp(date?: Date): string;
    /**
     * Parse ISO timestamp string to Date
     */
    parseTimestamp(timestamp: string): Date;
    /**
     * VALIDATION UTILITIES
     */
    /**
     * Extract error message from unknown error type
     */
    extractErrorMessage(error: unknown): string;
    /**
     * Validate options object and throw if invalid
     */
    validateOptions(options: Record<string, unknown>, requiredFields: string[], context: string): void;
    /**
     * Check if value is valid (not null, undefined, or empty string)
     */
    isValid(value: unknown): boolean;
    /**
     * Ensure value is string, throw otherwise
     */
    ensureString(value: unknown, fieldName: string): string;
    /**
     * Ensure value is object, throw otherwise
     */
    ensureObject(value: unknown, fieldName: string): Record<string, unknown>;
    /**
     * Resolve preferred package manager.
     * If `preferred` is provided, the first value is returned. Otherwise we detect by lock files.
     */
    resolvePackageManager(preferred?: string[]): string;
}>;
export declare const resolveNpmPath: () => string;
export declare const delay: (ms: number) => Promise<void>;
export declare const esmFilePath: (metaUrl: string | URL) => string;
export declare const esmDirname: (metaUrl: string | URL) => string;
export declare const resolvePackageManager: (preferred?: string[]) => string;
export declare const extractErrorMessage: (error: unknown) => string;
export declare const extractErrorMessageStrict: (error: unknown) => string;
export declare const fileExists: (filePath: string) => boolean;
export declare const ensureDir: (dirPath: string) => void;
export declare const ensureDirSafe: (dirPath: string) => void;
export declare const readFile: (filePath: string) => string;
export declare const writeFile: (filePath: string, content: string, createDir?: boolean) => void;
export declare const runFromSource: () => boolean;
//# sourceMappingURL=index.d.ts.map