import { openGraph } from '../shared.ts';
import type { CliOptions } from '../types.ts';
type GcPayload = {
    graph: string;
    metrics: ReturnType<Awaited<ReturnType<typeof openGraph>>['graph']['getGCMetrics']>;
} | {
    graph: string;
    result: ReturnType<Awaited<ReturnType<typeof openGraph>>['graph']['maybeRunGC']>;
} | {
    graph: string;
    result: ReturnType<Awaited<ReturnType<typeof openGraph>>['graph']['runGC']>;
};
export default function handleGc({ options, args }: {
    options: CliOptions;
    args: string[];
}): Promise<{
    payload: GcPayload;
    exitCode: number;
}>;
export {};
