/* * Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved. * This file is licensed to you under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. You may obtain a copy * of the License at https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS * OF ANY KIND, either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ import { FlashcardComponentProps, FlashcardDetailsListProps, FlashcardProps } from "./types.js"; import "client-only"; import * as react13 from "react"; import * as react_jsx_runtime60 from "react/jsx-runtime"; //#region src/components/flashcard/index.d.ts /** * Context for sharing Flashcard state across child components. */ declare const FlashcardContext: react13.Context; /** * Flashcard - A quick visual identifier for map entity data. * * Container component that provides loading state and header/subheader * to child components via context. * * @param props - {@link FlashcardProps} * @param props.isLoading - Whether the flashcard is in a loading state. * @param props.header - Primary header text. * @param props.subheader - Secondary text below the header. * @param props.children - Child components to render. * @param props.className - Optional CSS class name. * @returns The rendered Flashcard component. * * @example * ```tsx * * * Secondary info * * Status * Active * * * ``` */ declare function Flashcard(props: FlashcardProps): react_jsx_runtime60.JSX.Element; declare namespace Flashcard { var displayName: string; } /** * FlashcardHero - Upper section displaying header and subheader. * * Reads header and subheader from Flashcard context. Shows skeleton * placeholders when the parent Flashcard has isLoading=true. * * @param props - {@link FlashcardComponentProps} * @param props.children - Optional child content. * @param props.className - Optional CSS class name. * @returns The rendered FlashcardHero component. * * @example * ```tsx * * * * ``` */ declare function FlashcardHero(props: FlashcardComponentProps): react_jsx_runtime60.JSX.Element; declare namespace FlashcardHero { var displayName: string; } /** * FlashcardAdditionalData - Secondary data section below the hero. * * Hidden when the parent Flashcard has isLoading=true. * * @param props - {@link FlashcardComponentProps} * @param props.children - Content to display in the section. * @param props.className - Optional CSS class name. * @returns The rendered FlashcardAdditionalData component, or null if loading. * * @example * ```tsx * * * * Last updated: 2024-01-15 * * * ``` */ declare function FlashcardAdditionalData(props: FlashcardComponentProps): react_jsx_runtime60.JSX.Element | null; declare namespace FlashcardAdditionalData { var displayName: string; } /** * FlashcardDetailsList - Wrapper for key-value detail pairs. * * Wraps DetailsList with justify alignment for flashcard styling. * * @param props - {@link FlashcardDetailsListProps} * @param props.children - FlashcardDetailsLabel and FlashcardDetailsValue pairs. * @param props.className - Optional CSS class name. * @returns The rendered FlashcardDetailsList component. * * @example * ```tsx * * * * Status * Active * Speed * 450 kts * * * ``` */ declare function FlashcardDetailsList(props: FlashcardDetailsListProps): react_jsx_runtime60.JSX.Element; declare namespace FlashcardDetailsList { var displayName: string; } /** * FlashcardDetailsLabel - Label for detail items. * * Shows skeleton placeholder when the parent Flashcard has isLoading=true. * * @param props - {@link FlashcardComponentProps} * @param props.children - Label text content. * @param props.className - Optional CSS class name. * @returns The rendered FlashcardDetailsLabel component. * * @example * ```tsx * * Status * Active * * ``` */ declare function FlashcardDetailsLabel(props: FlashcardComponentProps): react_jsx_runtime60.JSX.Element; declare namespace FlashcardDetailsLabel { var displayName: string; } /** * FlashcardDetailsValue - Value for detail items. * * Shows skeleton placeholder when the parent Flashcard has isLoading=true. * * @param props - {@link FlashcardComponentProps} * @param props.children - Value text content. * @param props.className - Optional CSS class name. * @returns The rendered FlashcardDetailsValue component. * * @example * ```tsx * * Type * Aircraft * * ``` */ declare function FlashcardDetailsValue(props: FlashcardComponentProps): react_jsx_runtime60.JSX.Element; declare namespace FlashcardDetailsValue { var displayName: string; } //#endregion export { Flashcard, FlashcardAdditionalData, FlashcardContext, FlashcardDetailsLabel, FlashcardDetailsList, FlashcardDetailsValue, FlashcardHero }; //# sourceMappingURL=index.d.ts.map