/** * This file is part of the NocoBase (R) project. * Copyright (c) 2020-2024 NocoBase Co., Ltd. * Authors: NocoBase Team. * * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License. * For more information, please refer to: https://www.nocobase.com/agreement. */ import { CollectionFieldInterface } from '@nocobase/client-v2'; type CollectionOption = { name?: string; template?: string; options?: { template?: string; }; }; export declare function isAttachmentURLFileCollection(collection?: CollectionOption): boolean; export declare class AttachmentURLFieldInterface extends CollectionFieldInterface { name: string; type: string; group: string; title: string; default: { interface: string; type: string; uiSchema: { type: string; 'x-component': string; }; }; availableTypes: string[]; validationType: string; availableValidationOptions: string[]; configure: { items: ({ name: string; title: string; component: string; required: boolean; componentProps: { filter: typeof isAttachmentURLFileCollection; }; schema: { enum: string; }; defaultValue?: undefined; hidden?: undefined; } | { name: string; defaultValue: string; hidden: boolean; title?: undefined; component?: undefined; required?: undefined; componentProps?: undefined; schema?: undefined; })[]; }; filterable: { operators: string; nested: boolean; }; titleUsable: boolean; } export {};