import { type ReactNode } from 'react'; type RootProps = { /** The discriminant each `Case` is tested against. */ on: T; /** Rendered when no `Case` matches. */ fallback?: ReactNode; children: ReactNode; }; type CaseProps = { /** Matched by strict equality with `on`, or by a predicate on it. */ when: T | ((value: T) => boolean); children?: ReactNode; }; declare function MatchCase({ children }: CaseProps): ReactNode; declare namespace MatchCase { var displayName: string; } declare function MatchRoot({ on, fallback, children }: RootProps): ReactNode; declare namespace MatchRoot { var displayName: string; } export type { CaseProps as CaseProps, RootProps as RootProps }; export { MatchCase as Case, MatchRoot as Root }; //# sourceMappingURL=Match.d.ts.map