import React from "react"; export declare type LinkUpdatedCallback = (url: string) => string | Promise; export interface EmbeddedContentAttributeProps { identifier: string; record: Aha.RecordUnion; fields: { [index: string]: unknown; }; product: string; placeholder: string | undefined; /** Optional function that allows component to modify supplied user input before saving */ onLinkUpdated?: LinkUpdatedCallback; aspectRatio?: number; fieldName?: string; transformValue: (value: string) => string; } /** * Fully-featured component for displaying embedded content associated with an * Aha! Record. Collects a URL as user input, stores it as extension data on the * record, and displays the URL at a fixed aspect ratio when set. * */ export declare const EmbeddedContentAttribute: React.FC;