/**
 * Logs `messages` to the console using `console.warn` based on a `condition`.
 * This should be used inside components.
 */
export declare function useWarning(condition: boolean, ...messages: any[]): void;
