import { AnonymousFunction } from '../types'; import { Theme } from '../../theme/types'; export { shouldForwardProp } from './shouldForwardProp'; export declare const logBuild: () => void; /** * * @param func the function to debouce * @param interval the interval to wait (in milliseconds) * @param leading * @returns */ export declare const debounce: (func: AnonymousFunction, interval?: number, leading?: boolean) => (...args: any[]) => any; /** * Wraps a numeric digit and returns a pixel value * @param num * @returns string (in pixel unit) */ export declare const px: (num: number) => string; /** * Wraps a numeric digit and returns a percent value * @param num * @returns string (in percent unit) */ export declare const pcnt: (num: number) => string; /** * Addds transparency to a color */ export declare const transparentize: (color: string, opacity: number) => string; /** * Genereate a box shadow for form elements * @param error form element has error * @param theme the ui theme * @param shade the shade to use for the outline * @param dangerOpacity the opacity to set for error outline */ export declare const getOutline: (error: boolean, theme: Theme) => string; /** * Determines if the app is desktop or mobile * @param wdith * @param theme */ export declare const isDesktop: (window: { width: number | undefined; }, theme: Theme) => boolean; /** * Determines if the app is desktop or mobile * @param width * @param breakpoint */ export declare const isMobile: (window: { width: number | undefined; }, theme: Theme) => boolean;