import { type ConnectorAcquireBatch, type ConnectorAcquireRequest, type ConnectorAdapter } from './types.js'; export declare const FIGMA_BRIDGE_V6_FEATURES: readonly ["tokens", "lint-report", "structure", "commands", "chat", "chat-reset", "project-delete", "chat-actions", "commands-v2", "agents"]; export type FigmaConnectionInput = { kind: 'cloud'; connectionId: string; } | { kind: 'rest'; baseUrl: string; credentialRef: string; } | { kind: 'local-bridge'; origin: string; version: number; features: readonly string[]; }; export type FigmaConnection = { kind: 'cloud'; connectionId: string; readOnly: true; } | { kind: 'rest'; baseUrl: string; credentialRef: string; readOnly: true; } | { kind: 'local-bridge'; origin: 'http://localhost:5115'; version: 6; features: string[]; }; export declare function defineFigmaConnection(input: FigmaConnectionInput): FigmaConnection; export interface FigmaArtifactMetadata { id: string; name: string; url: string; kind: 'file' | 'prototype' | 'lint-report' | 'token-export' | 'structure'; } export interface FigmaMetadataClient { listArtifacts(request: ConnectorAcquireRequest): Promise; } export interface FigmaFontName { readonly family: string; readonly style: string; } export interface FigmaFontProbeClient { listAvailableFonts(): Promise; } export type FigmaFontProbeResult = { readonly status: 'complete' | 'partial'; readonly fonts: readonly (FigmaFontName & { readonly availability: 'available' | 'missing'; })[]; } | { readonly status: 'unavailable'; readonly reasonCode: 'FIGMA_FONT_PROBE_UNAVAILABLE'; }; export declare function probeFigmaFonts(client: FigmaFontProbeClient, requested: readonly FigmaFontName[]): Promise; export declare class FigmaAdapter implements ConnectorAdapter { readonly connection: FigmaConnection; readonly client: FigmaMetadataClient; readonly provider: "figma"; constructor(connection: FigmaConnection, client: FigmaMetadataClient); acquire(request: ConnectorAcquireRequest): Promise; }