/**
 * copy from rc-util/warnings
 */
type preMessageFn = (message: string, type: 'warning' | 'note') => string | null | undefined | number;
export declare function warning(valid: boolean, message: string): void;
export declare function note(valid: boolean, message: string): void;
export declare function warningOnce(valid: boolean, message: string): void;
export declare namespace warningOnce {
    var preMessage: (fn: preMessageFn) => void;
    var resetWarned: () => void;
    var noteOnce: (valid: boolean, message: string) => void;
}
type BaseTypeWarning = (valid: boolean, 
/**
 * - deprecated: Some API will be removed in future but still support now.
 * - usage: Some API usage is not correct.
 * - breaking: Breaking change like API is removed.
 */
type: 'deprecated' | 'usage' | 'breaking', message?: string) => void;
type TypeWarning = BaseTypeWarning & {
    deprecated: (valid: boolean, oldProp: string, newProp: string, message?: string) => void;
};
export declare function resetWarning(): void;
export declare function useDevWarning(component: string): TypeWarning;
export {};
