import type { FieldType } from 'n8n-workflow'; export interface LsOption { key: string; label?: string; } export interface LsTypeDefinition { type?: string; variant?: string; options?: LsOption[]; maxFiles?: number; maxImages?: number; maxVideos?: number; maxAudios?: number; } export interface LsFieldDefinition { key: string; name: string; customFieldCardId?: string; typeDefinition?: LsTypeDefinition; } export interface LsCard { definitions?: LsFieldDefinition[]; } export interface MappedTypeResult { type: FieldType; options?: Array<{ name: string; value: string; }>; maxInfo?: string; } export declare const SIMPLE_TYPE_MAPPING: Record; export declare const MEDIA_TYPES: readonly ["files", "images", "videos", "audios"]; export declare function isLsCard(value: unknown): value is LsCard; export declare function isLsFieldDefinition(value: unknown): value is LsFieldDefinition; export declare function toOptions(def: LsFieldDefinition): Array<{ name: string; value: string; }> | undefined; export declare function mapLsType(def: LsFieldDefinition): MappedTypeResult; export declare function isValidFieldKey(fieldKey: string | undefined): fieldKey is string; export declare function findFieldDefinition(cards: unknown[], fieldKey: string): LsFieldDefinition | undefined; export declare function collectAllFieldDefinitions(cards: unknown[]): LsFieldDefinition[];