import { SceneMap } from '@hackforplay/next';
import Cursor from '../utils/cursor';
export declare const actions: {
    initMap: {
        (payload: SceneMap, meta?: {
            [key: string]: any;
        } | null | undefined): import("typescript-fsa").Action<SceneMap>;
        type: string;
        match: (action: import("typescript-fsa").AnyAction) => action is import("typescript-fsa").Action<SceneMap>;
    };
    draw: {
        (payload: Cursor, meta?: {
            [key: string]: any;
        } | null | undefined): import("typescript-fsa").Action<Cursor>;
        type: string;
        match: (action: import("typescript-fsa").AnyAction) => action is import("typescript-fsa").Action<Cursor>;
    };
    set: {
        (payload: SceneMap, meta?: {
            [key: string]: any;
        } | null | undefined): import("typescript-fsa").Action<SceneMap>;
        type: string;
        match: (action: import("typescript-fsa").AnyAction) => action is import("typescript-fsa").Action<SceneMap>;
    };
};
export interface State extends SceneMap {
}
export declare const draw: <Base extends {
    readonly tables: readonly (readonly (readonly number[])[])[];
    readonly squares: readonly {
        readonly index: number;
        readonly placement: {
            readonly type: import("@hackforplay/next/lib/types/placement").TileType;
            readonly collider?: readonly number[] | undefined;
        };
        readonly tile: {
            readonly size: readonly number[];
            readonly image: {
                readonly type: import("@hackforplay/next").TileImageType;
                readonly src: string;
            };
            readonly author: {
                readonly name: string;
                readonly url?: string | undefined;
            };
        };
    }[];
}>(base: Base, cursor: Cursor) => Base;
declare const _default: import("typescript-fsa-reducers").ReducerBuilder<State, State>;
export default _default;
export declare const epics: import("redux-observable").Epic<import("redux").Action<any>, import("redux").Action<any>, void, any>;
/**
 * マップの初期値
 */
export declare function init(): SceneMap;
