import { Meta, StoryObj } from '@storybook/react-webpack5'; import { SkeletonProps } from '.'; declare const meta: Meta; export default meta; declare type Story = StoryObj; export declare const Default: Story; export declare const Variants: Story; export declare const Text: Story; export declare const NoAnimation: Story; /** * Wrap a component in `Skeleton` to reserve its exact dimensions while data * loads. The children are visually hidden but still occupy space, so the * skeleton shrinks to fit them. This works with any element or Magma component * and is best for fixed-size pieces such as avatars, buttons, icons, and tags. * * The first row shows the skeletons on their own. The second row starts as * skeletons and reveals the real content after 3 seconds, mimicking a load. */ export declare const InferredFromChildren: Story; /** * The `animation` prop switches the animation style. `shimmer` (the default) * sweeps a sheen left to right, while `pulse` gently blinks the whole shape. */ export declare const Pulse: Story; /** * For dynamic or complex components whose size is not fixed (for example a form * that can grow or shrink), don't wrap the component. Instead, compose skeleton * primitives to approximate the layout you expect. This keeps you in control of * the placeholder's dimensions regardless of the real content. */ export declare const ComposedLayout: Story; /** * A fake media card UI, showing how skeletons approximate the real content * layout while it loads. */ export declare const CardExample: Story; /** * A fake list UI combining circle avatars with text lines. */ export declare const ListExample: Story; export declare const Inverse: Story; /** * Renders 100 rows (300 skeletons) at once to confirm the animations and * rendering stay smooth at scale. The component is a lightweight styled element * with no per-instance timers or effects, and Emotion reuses a single generated * class for identical skeletons, so hundreds of instances stay performant. */ export declare const ManySkeletons: Story;