import type { ArrayTransform } from '@glide/app-description'; import type { ComponentDescription } from '@glide/app-description'; import type { PropertyDescription } from '@glide/app-description'; import * as React_2 from 'react'; export declare class Actions { deleteItem(): PropertyDescription; editItem(): PropertyDescription; setColumn(column: PropertyDescription, value: string | PropertyDescription): PropertyDescription; } declare interface BaseComponentProps { visibilityCondition?: ArrayTransform; id?: string; } declare interface ButtonDescription { label: string | PropertyDescription; action: PropertyDescription; } export declare const ButtonsBlock: React_2.FC; declare interface ButtonsBlockProps extends BaseComponentProps { buttons: ButtonDescription[]; } /** * For editing, we pipe all the existing component descriptions via context */ declare interface ComponentDescriptionsContext { beautifiedIDToComponentDescription: Record; } export declare const ComponentDescriptionsProvider: React_2.FC>; export declare const CustomComponent: React_2.FC; declare interface CustomComponentProps extends BaseComponentProps { } declare interface FieldDescription { name: string | PropertyDescription; value: PropertyDescription; } export declare const Fields: React_2.FC; declare interface FieldsProps extends BaseComponentProps { title: string | PropertyDescription; fields: FieldDescription[]; } export declare const Hint: React_2.FC; declare interface HintProps extends BaseComponentProps { text: string | PropertyDescription; } export declare const If: React_2.FC; declare interface IfProps { condition: ArrayTransform | undefined; children: React_2.ReactNode; } declare const Image_2: React_2.FC; export { Image_2 as Image } declare interface ImageProps extends BaseComponentProps { image: string | PropertyDescription; } export declare const InputField: React_2.FC; declare interface InputFieldProps extends BaseComponentProps { value: PropertyDescription; label: string | PropertyDescription; type: "text" | "number" | "email" | "image"; placeholder?: string | PropertyDescription; } export declare const Link: React_2.FC; declare interface LinkProps extends BaseComponentProps { to: string | PropertyDescription; title: string | PropertyDescription; caption?: string | PropertyDescription; } export declare const List: React_2.FC; declare interface ListProps extends BaseComponentProps { title?: string | PropertyDescription; source: PropertyDescription; itemTitle?: string | PropertyDescription; itemSubtitle?: string | PropertyDescription; itemImage?: string | PropertyDescription; style?: "list" | "cover"; } declare interface ListProps extends BaseComponentProps { title?: string | PropertyDescription; source: PropertyDescription; itemAddress?: string | PropertyDescription; itemTitle?: string | PropertyDescription; itemSubtitle?: string | PropertyDescription; itemImage?: string | PropertyDescription; } export declare const MapList: React_2.FC; export declare class Predicates { is(lhs: PropertyDescription, rhs: PropertyDescription | string): ArrayTransform | undefined; } export declare class Schema { table: PropertyDescription | undefined; nameMap: Record; /** * @param table is for the target table of a relation Schema (undefined if root schema) * @param nameMap is to map internal column names to LLM-friendly ones */ constructor(table: PropertyDescription | undefined, nameMap: Record); private getColumnName; getColumn(columnName: string): PropertyDescription; getUserColumn(columnName: string): PropertyDescription; getRelation(columnName: string): Schema; } export declare const ScreenContainer: React_2.FC; declare interface ScreenContainerProps { children: React_2.ReactNode; } export declare const Title: React_2.FC; declare interface TitleProps extends BaseComponentProps { title: string | PropertyDescription; subtitle?: string | PropertyDescription; image?: string | PropertyDescription; style?: string; } export { }