import { ImageSourcePropType, ImageURISource } from "react-native";
import { WithTestID } from "../../utils/types";
import { Badge } from "../badge";
import { IOIcons } from "../icons";
import { PressableModuleBaseProps } from "./PressableModuleBase";
type ImageProps = {
    icon: IOIcons;
    image?: never;
} | {
    icon?: never;
    image: ImageURISource | ImageSourcePropType;
} | {
    icon?: never;
    image?: never;
};
type LoadingModuleProps = {
    isLoading: true;
    loadingAccessibilityLabel?: string;
};
type BaseModuleProps = {
    isLoading?: false;
    label: string;
    badge?: Badge;
    isFetching?: boolean;
};
type ModuleCredentialProps = BaseModuleProps & ImageProps & PressableModuleBaseProps;
declare const ModuleCredential: (props: WithTestID<LoadingModuleProps | ModuleCredentialProps>) => import("react/jsx-runtime").JSX.Element;
export { ModuleCredential };
//# sourceMappingURL=ModuleCredential.d.ts.map