import BaseFoundation, { DefaultAdapter } from '../base/foundation'; export interface RatingAdapter
, S = Record {
focus: () => void;
getStarDOM: (index: number) => Element;
notifyHoverChange: (hoverValue: number, clearedValue: number) => void;
updateValue: (value: number) => void;
clearValue: (clearedValue: number) => void;
notifyFocus: (e: any) => void;
notifyBlur: (e: any) => void;
notifyKeyDown: (e: any) => void;
setEmptyStarFocusVisible: (focusVisible: boolean) => void;
}
export default class RatingFoundation , S = Record );
init(): void;
_getScroll(w: Window, top?: boolean): number;
_getClientPosition(elem: Element): {
left: any;
top: any;
};
_getOffsetLeft(el: Element): any;
getStarValue(index: number, pos: number): number;
handleHover(event: any, index: number): void;
handleMouseLeave(): void;
handleClick(event: any, index: number): void;
handleFocus(e: any): void;
handleBlur(e: any): void;
handleKeyDown(event: any, value: number): void;
changeFocusStar(value: number, event: any): void;
handleStarFocusVisible: (event: any) => void;
handleStarBlur: (e: any) => void;
}
export interface RatingItemAdapter , S = Record {
setFirstStarFocus: (value: boolean) => void;
setSecondStarFocus: (value: boolean) => void;
}
export declare class RatingItemFoundation , S = Record );
handleFocusVisible: (event: any, star: string) => void;
handleBlur: (e: any, star: string) => void;
}