import * as React from 'react';
import { type StyledComponentProps } from '../../types';
/**
 * Type containing CSSProperties which extends to those that are missing React's defined list
 */
interface CustomCSSProperties extends React.CSSProperties {
    gap?: string;
}
/**
 * Parse a raw_css property into styles and css
 *
 * @param rawCss raw css property to parse
 */
export declare function parseRawCss(rawCss: string | CustomCSSProperties | React.CSSProperties | undefined | null): [rawStyles: CustomCSSProperties, rawCss: string];
/**
 * Styling utility hook which takes in base styling props and raw_css
 * Outputs `style` and `css` properties to inject into the top-level component
 *
 * @param props props to get styles from
 * @param useDisplayContext whether or not to use the display context, for some components such as Modal, these do not care for the context of their parent
 */
export default function useComponentStyles(props: StyledComponentProps, useDisplayContext?: boolean, propName?: string): [CustomCSSProperties, string];
export {};
//# sourceMappingURL=use-component-styles.d.ts.map