import { Pane } from 'tweakpane';

/*
 * This code snippet is extending the existing `Pane` type from the `tweakpane` library in TypeScript.
 * It defines a new interface `PaneExtended` that includes additional properties and methods on top of
 * the base `Pane` type.
 */

export type PaneExtended = Pane & {
    on(arg0: string, arg1: () => void): unknown;
    expanded: boolean;
    addFolder(arg0: { title: string; expanded: boolean }): unknown;
    settings?: {
        expanded?: boolean;
        users?: {
            serverURL?: string;
            sharedPlayer?: string;
            currency?: string;
        };
        audio?: {
            showAudio?: boolean;
            showInspector?: boolean;
        };
    };
};
