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) | null) => `${ControlType}` | string | null; export declare const establishNewType: EstablishNewTypeType; type EstablishNewPriorityType = (originalPriority?: Priority | (string & Record) | null, originalType?: OldTypeKeys | (string & Record) | null) => `${ControlType}` | string | null | undefined; export declare const establishNewPriority: EstablishNewPriorityType; type DeprecatedTypeMapMessageType = keyof typeof deprecatedTypeMapMessage; type LogDeprecationNoticesType = (params: { size?: `${Size}`; type?: DeprecatedTypeMapMessageType | (string & Record) | null; }) => void; export declare const logDeprecationNotices: LogDeprecationNoticesType; export {}; //# sourceMappingURL=legacyUtils.d.ts.map