import { Effect } from 'effect';
import type { InvalidIdentityError, PublicIdentity } from '../identity/types.js';
import { type ApplyError, SpaceEvent, type SpaceState } from './types.js';
type Params = {
    state: SpaceState | undefined;
    event: SpaceEvent;
    getVerifiedIdentity: (accountAddress: string, publicKey: string) => Effect.Effect<PublicIdentity, InvalidIdentityError>;
};
export declare const applyEvent: ({ state, event: rawEvent, getVerifiedIdentity, }: Params) => Effect.Effect<SpaceState, ApplyError>;
export {};
//# sourceMappingURL=apply-event.d.ts.map