import { Prompt } from '../types';
/**
 * Determines if a string is a valid file path.
 * @param str - The string to check.
 * @returns True if the string is a valid file path, false otherwise.
 */
export declare function maybeFilePath(str: string): boolean;
/**
 * Normalizes the input prompt to an array of prompts, rejecting invalid and empty inputs.
 * @param promptPathOrGlobs - The input prompt.
 * @returns The normalized prompts.
 * @throws If the input is invalid or empty.
 */
export declare function normalizeInput(promptPathOrGlobs: string | (string | Partial<Prompt>)[] | Record<string, string>): Partial<Prompt>[];
/**
 * Parses a file path or glob pattern to extract function names and file extensions.
 * Function names can be specified in the filename like this:
 * prompt.py:myFunction or prompts.js:myFunction.
 * @param basePath - The base path for file resolution.
 * @param promptPath - The path or glob pattern.
 * @returns Parsed details including function name, file extension, and directory status.
 */
export declare function parsePathOrGlob(basePath: string, promptPath: string): {
    extension: string;
    functionName?: string;
    isPathPattern: boolean;
    promptPath: string;
};
//# sourceMappingURL=utils.d.ts.map