import type { Emotion } from '@emotion/css/create-instance';
import type { Theme } from './Theme.js';
export declare const REACT_UI_PREFIX: string;
export declare const getEmotion: ({ key, container, nonce, }: {
    container: HTMLElement;
    key?: string;
    nonce?: string;
}) => Emotion;
export interface StylesObject {
    [className: string]: (() => string) | ((t: Theme) => string);
}
export type StylesGetter<S> = (emotion: Emotion) => S;
export declare const memoizeStyle: <S extends StylesObject>(styles: S) => S;
export declare const memoizeGetStyles: <S extends StylesObject>(getStyles: StylesGetter<S>) => StylesGetter<S>;
export declare const prefix: (component: string, app?: string) => <T extends Record<string, string>>(classes: T) => T;
