/** * A part of something longer, shared live: its blocks as they are now, under * the header of what it is part of (why: * https://github.com/estiva-app/estiva-docs/blob/main/decisions/a-shared-part-of-a-page-is-a-selected-run-of-blocks.md). * There is no row or card choice for a part: it draws itself. The app draws * the blocks and passes them as `children`. */ import type { ReactNode } from 'react'; import type { LinkedKind } from './linked'; export interface PartCardProps { /** Where its lookup stands. Default `ready`. */ state?: 'ready' | 'loading' | 'unavailable'; /** What it is part of, by its icon. */ kind: LinkedKind; /** The title of what it is part of. */ heading?: string; /** Opens what it is part of, at the part. */ href?: string; /** The key of what it is part of: "ABC-2". */ partKey?: string; /** What it is part of, in a word, for "A part of this item — not available.". */ noun?: string; /** Where it may still open, for someone who can, when it is not available. */ openIn?: { app: string; href: string; }; /** The part's blocks, drawn by the app. */ children?: ReactNode; } export declare function PartCard({ state, kind, heading, href, partKey, noun, openIn, children }: PartCardProps): import("react").JSX.Element; //# sourceMappingURL=PartCard.d.ts.map