/**
 * Resolves the source path to an executable entry file path.
 *
 * If the source path is a directory, it looks for `package.json#main`, then `index.ts`, then `index.js`.
 *
 * @param srcPath - The source path (can be a file or directory).
 * @param displayName - Optional display name for the function, used in error messages.
 * @returns The absolute path to the entry file.
 * @throws If the entry file cannot be determined.
 */
export declare function findFunctionEntryPoint(srcPath: string, displayName?: string): Promise<string>;
