import { BuildRuntime } from "@trigger.dev/core/v3/schemas";
export type IndexWorkerManifestOptions = {
    runtime: BuildRuntime;
    indexWorkerPath: string;
    buildManifestPath: string;
    nodeOptions?: string;
    env: Record<string, string | undefined>;
    cwd?: string;
    otelHookInclude?: string[];
    otelHookExclude?: string[];
    handleStdout?: (data: string) => void;
    handleStderr?: (data: string) => void;
};
export declare function indexWorkerManifest({ runtime, indexWorkerPath, buildManifestPath, nodeOptions, env: $env, cwd, otelHookInclude, otelHookExclude, handleStderr, handleStdout, }: IndexWorkerManifestOptions): Promise<{
    tasks: {
        id: string;
        filePath: string;
        exportName: string;
        entryPoint: string;
        maxDuration?: number | undefined;
        queue?: {
            name?: string | undefined;
            concurrencyLimit?: number | null | undefined;
        } | undefined;
        machine?: {
            cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
            memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
            preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
        } | undefined;
        retry?: {
            maxAttempts?: number | undefined;
            factor?: number | undefined;
            minTimeoutInMs?: number | undefined;
            maxTimeoutInMs?: number | undefined;
            randomize?: boolean | undefined;
            outOfMemory?: {
                machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
            } | undefined;
        } | undefined;
        description?: string | undefined;
        triggerSource?: string | undefined;
        schedule?: {
            cron: string;
            timezone: string;
        } | undefined;
    }[];
    runtime: "node" | "bun";
    configPath: string;
    workerEntryPoint: string;
    loaderEntryPoint?: string | undefined;
    customConditions?: string[] | undefined;
    otelImportHook?: {
        include?: string[] | undefined;
        exclude?: string[] | undefined;
    } | undefined;
    controllerEntryPoint?: string | undefined;
}>;
