import type { DevToolsSys } from "../../types";
import type { Credentials } from "../credentials";
import type { WorkspaceConfiguration, ComponentDocument } from "$/ai-utils";
import type { ComponentTask } from "./types";
export declare const discoverComponents: (sys: DevToolsSys, credentials: Credentials, sessionId: string, remoteComponents: ComponentDocument[], opts?: {
    force?: boolean;
    designSystemPackage?: string;
    designSystemVersion?: string;
    workspaceConfig?: WorkspaceConfiguration;
    debug?: boolean;
    specificComponents?: string[];
}) => Promise<{
    numComponentsFound: number;
    componentsToIndex: ComponentTask[];
    discoveredComponents: ComponentTask[];
}>;
export declare const computeHash: (sys: DevToolsSys, files: string[]) => Promise<string>;
