export interface CeleryTask {
    name: string;
    file: string;
    line: number;
    decorator: string;
    bind: boolean;
    max_retries?: number;
    retry_backoff?: boolean | number;
    rate_limit?: string;
    queue?: string;
    callers: Array<{
        file: string;
        line: number;
        kind: "delay" | "apply_async" | "canvas" | "direct";
        context: string;
    }>;
}
export interface CeleryCanvasUsage {
    file: string;
    line: number;
    operator: "chain" | "group" | "chord" | "signature" | "s" | "si";
    context: string;
}
export interface CeleryResult {
    tasks: CeleryTask[];
    canvas_usages: CeleryCanvasUsage[];
    total_tasks: number;
    total_call_sites: number;
    orphan_tasks: string[];
}
/**
 * Discover Celery tasks and their call sites.
 */
export declare function traceCeleryChain(repo: string, options?: {
    file_pattern?: string;
    task_name?: string;
}): Promise<CeleryResult>;
//# sourceMappingURL=celery-tools.d.ts.map