import React from "react"; import { CmsFieldType } from "@webiny/app-headless-cms/presentation/fieldTypes/abstractions.js"; import type { CmsModelField } from "@webiny/app-headless-cms-common/types/index.js"; /** * Palette entry for the Asset field. It is stored as an `object` field (so it reuses * the object GraphQL/storage machinery); `createField()` therefore emits `type: * "object"` with the asset renderer, and the API normalizer stamps the canonical * nested schema on save. `matches()` lets the field editor resolve this descriptor * for an asset field even though its stored type is `object`. */ declare class AssetFieldTypeImpl implements CmsFieldType.Interface { type: string; label: string; description: string; icon: React.JSX.Element; allowList: boolean; listLabel: string; allowPredefinedValues: boolean; validators: string[]; listValidators: string[]; matches(field: CmsModelField): boolean; createField(): { type: string; validation: never[]; renderer: { name: string; }; settings: {}; }; } export declare const AssetFieldType: typeof AssetFieldTypeImpl & { __abstraction: import("@webiny/di").Abstraction; }; export {};