import type { FieldMapSchema, FieldMapSchemaBuilder, FieldMapValues } from '@baseplate-dev/utils'; import type { PluginSpec } from '../spec/types.js'; /** * Creates a plugin spec backed by a FieldMap for automatic source tracking. * * @param name - Unique identifier for the spec * @param schemaBuilder - Function that builds the field map schema * @param options - Optional configuration including custom use interface */ export declare function createFieldMapSpec>(name: string, schemaBuilder: (t: FieldMapSchemaBuilder) => T, options?: { /** * Custom use interface builder. Receives the field map values and returns * the use interface. If not provided, returns the raw field map values. */ use?: (values: FieldMapValues) => TUse; }): PluginSpec; //# sourceMappingURL=create-field-map-spec.d.ts.map