///
export interface Router {
state: {
space?: string;
tool: string;
};
navigate: (nextState: Record, options?: {
replace: boolean;
}) => void;
}
export interface Tool {
canHandleIntent?: (intent: Record, params: Record, state: Record) => void;
component?: React.ComponentType<{
tool: string;
}>;
icon?: React.ComponentType;
getIntentState?: (intent: Record, params: Record, state: Record, payload: Record) => void;
name: string;
title: string;
router?: Record;
}
export interface User {
email: string;
name?: string;
profileImage?: string;
}
//# sourceMappingURL=types.d.ts.map