1 | import { Component } from 'preact';
|
2 | import { Config } from '../config';
|
3 | export interface BaseProps {
|
4 | }
|
5 | export declare abstract class BaseComponent<P extends BaseProps = unknown, S = unknown> extends Component<P, S> {
|
6 | protected config: Config;
|
7 | protected _: (message: string, ...args: any[]) => string;
|
8 | constructor(props: P, context: any);
|
9 | }
|
10 | export interface BaseComponent<P> {
|
11 | new (props: P, context?: any): Component<P>;
|
12 | }
|