/**
 * Web-specific space creation handler using modal.
 *
 * @packageDocumentation
 */
import { ISpaceCreationHandler, SpaceCreationContext } from "@tinycloud/sdk-core";
/**
 * Space creation handler that shows a modal for user confirmation.
 *
 * This is the default handler for web applications, providing a
 * user-friendly confirmation dialog before creating a new space.
 *
 * @example
 * ```typescript
 * const auth = new WebUserAuthorization({
 *   provider: window.ethereum,
 *   spaceCreationHandler: new ModalSpaceCreationHandler(),
 * });
 * ```
 */
export declare class ModalSpaceCreationHandler implements ISpaceCreationHandler {
    /**
     * Show a modal to confirm space creation.
     * Returns true if user confirms, false if dismissed.
     */
    confirmSpaceCreation(context: SpaceCreationContext): Promise<boolean>;
    /**
     * Show success notification after space creation.
     */
    onSpaceCreated(context: SpaceCreationContext): void;
    /**
     * Show error notification if space creation fails.
     */
    onSpaceCreationFailed(context: SpaceCreationContext, error: Error): void;
}
/**
 * Default web space creation handler using modal confirmation.
 */
export declare const defaultWebSpaceCreationHandler: ISpaceCreationHandler;
//# sourceMappingURL=WebSpaceCreationHandler.d.ts.map