import { mainTypes, SafeAny } from '../types';
import { RefreshConfig } from 'ngx-puzzle/core';
import { DataRequestConfig } from './data-request';
export interface ComponentConfig<TConfigProps extends ComponentBaseProps = ComponentBaseProps, TSubType = string> {
    id: string;
    type: mainTypes;
    subType: TSubType;
    position: Position;
    size: Size;
    props: TConfigProps;
    dataRequest?: DataRequestConfig;
    refreshConfig?: RefreshConfig;
}
export interface ComponentBaseProps {
    styles: Record<string, SafeAny>;
    [key: string]: SafeAny;
}
export interface Position {
    x: number;
    y: number;
}
export interface Size {
    width: number;
    height: number;
}
