/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ import type { SourceCard } from "./model/cards.js"; import type { PartStyles } from "./parts.js"; /** Props of {@link SourceCardView}. */ export interface SourceCardViewProps { /** The card. */ readonly card: SourceCard; /** The data source's name. */ readonly source: string; /** The workspace it is read in, when the builder knows it. */ readonly workspace: string | undefined; /** The parts' styles, and the words. */ readonly ps: PartStyles; } /** * Renders the source's card — see the module docs. * * @param props - The card, the source, the workspace and the styles ({@link SourceCardViewProps}) * @returns The card */ export declare const SourceCardView: import("react").MemoExoticComponent<({ card, source, workspace, ps }: SourceCardViewProps) => import("react/jsx-runtime").JSX.Element>; //# sourceMappingURL=source.d.ts.map