import React from 'react';
export interface PlaygroundExample {
    id: string;
    title: string;
    description: string;
    category: string;
    code: string;
    setup?: string;
    expectedOutput?: string;
}
export interface PlaygroundState {
    code: string;
    output: string[];
    error: string | null;
    running: boolean;
}
export declare const PLAYGROUND_EXAMPLES: PlaygroundExample[];
export declare function createPlaygroundRunner(engineModule: Record<string, unknown>): {
    run(code: string): {
        output: string[];
        error: string | null;
    };
};
export declare const NiceAPIPlayground: React.FC<{
    engineModule?: Record<string, unknown>;
}>;
