intentful
Version:
Create Custom Skills with less headache
15 lines (14 loc) • 411 B
TypeScript
import { ModelProvider } from '../../types';
export interface FilterModel {
type?: string;
}
export interface FilterProps {
}
export declare abstract class Filter<T extends FilterModel, P extends FilterProps> implements ModelProvider<T> {
readonly type: string;
readonly props: P;
constructor(type: string, props: P);
toJSON(): T;
model(): T;
abstract componentSpecificModel(): T;
}