import { ReactNode } from 'react';
interface SwitchProps {
    children: ReactNode;
}
export declare const SwitchView: {
    ({ children }: SwitchProps): any;
    CaseView: typeof CaseView;
};
type CasePropsWithCondition = {
    condition: boolean;
    children: ReactNode;
    key: string | number;
    fallback?: boolean;
};
type CasePropsWithFallback = {
    condition?: boolean;
    children: ReactNode;
    key: string | number;
    fallback: true;
};
export declare function CaseView(props: CasePropsWithCondition): ReactNode;
export declare function CaseView(props: CasePropsWithFallback): ReactNode;
export {};
//# sourceMappingURL=index.d.ts.map