import ts from "typescript";
import type { DevTools, DevToolsSys } from "../types";
import type { CLIArgs } from "./index";
import type { FigmaBuilderLink, FigmaMapperFile } from "#ai-utils";
export declare const runFigmaPublish: (sys: DevToolsSys, args: CLIArgs) => Promise<undefined>;
export declare const FIGMA_CONNECT_CALL = "figmaMapping";
export declare function findAllMappingFiles(sys: DevToolsSys): Promise<string[]>;
export declare function setPublicKey(sys: DevToolsSys, publicKey: string, devTools: DevTools | undefined, ensureFigmaImportPage?: boolean): Promise<{
    success: boolean;
    error: string;
} | {
    error?: undefined;
    success: boolean;
}>;
export declare function findMappingsFromFiles({ sys, mappingFiles, typeCheck }: {
    mappingFiles: string[];
    sys: DevToolsSys;
    typeCheck?: boolean;
}): Promise<{
    mapperFiles: FigmaMapperFile[];
    figmaBuilderLinks: FigmaBuilderLink[];
    diagnostics: ts.Diagnostic[];
    figmaLinksToResolve: string[];
}>;
