import { ControlType, Priority, Size, Type } from '../../common';
type OldTypeKeys = Type.DANGER | Type.LINK | Type.SECONDARY;
declare const deprecatedTypeMapMessage: {
    danger: string;
    link: string;
    pay: string;
    primary: string;
    secondary: string;
};
type EstablishNewTypeType = (originalType: Type | (string & Record<never, never>) | null) => `${ControlType}` | string | null;
export declare const establishNewType: EstablishNewTypeType;
type EstablishNewPriorityType = (originalPriority?: Priority | (string & Record<never, never>) | null, originalType?: OldTypeKeys | (string & Record<never, never>) | null) => `${ControlType}` | string | null | undefined;
export declare const establishNewPriority: EstablishNewPriorityType;
type DeprecatedTypeMapMessageType = keyof typeof deprecatedTypeMapMessage;
type LogDeprecationNoticesType = (params: {
    size: `${Size}`;
    type: DeprecatedTypeMapMessageType | (string & Record<never, never>) | null;
}) => void;
export declare const logDeprecationNotices: LogDeprecationNoticesType;
export {};
//# sourceMappingURL=legacyUtils.d.ts.map