/// <reference types="react" />
import "./index.less";
export declare type Mode = "list" | "block";
interface ModeSwitchProps {
    mode: Mode;
    onSwitch: (mode: Mode) => void;
}
export default function ModeSwitch(props: ModeSwitchProps): JSX.Element;
export {};
