/** * The Semi Foundation / Adapter architecture split was inspired by Material Component For Web. (https://github.com/material-components/material-components-web) * We re-implemented our own code based on the principle and added more functions we need according to actual needs. * */ export type noopFunction = (...args: any) => any; export interface DefaultAdapter
, S = Record, callback?: any): void;
getCache(c: string): any;
getCaches(): any;
setCache(key: any, value: any): void;
stopPropagation(e: any): void;
persistEvent: (event: any) => void;
}
declare class BaseFoundation, cb?: (...args: any) => void): void;
getContext(key: string): any;
getContexts(): any;
getCaches(): any;
getCache(key: string): any;
setCache(key: string, value: any): void;
stopPropagation(e: any): void;
_isControlledComponent(key?: string): boolean;
_isInProps(key: string): boolean;
init(lifecycle?: any): void;
destroy(): void;
log(text: string, ...rest: any): void;
_persistEvent(e: any): void;
}
export default BaseFoundation;