import Component from '@glimmer/component'; import type Owner from '@ember/owner'; import type { ComponentLike } from '@glint/template'; export interface TabRegistration { id: string; label: string; } interface TabArgs { label: string; active?: string; registerTab?: (tab: TabRegistration) => void; } interface TabSignature { Args: TabArgs; Blocks: { default: []; }; } export declare class Tab extends Component { id: string; constructor(owner: Owner, args: TabArgs); get isActive(): boolean; } interface TabsSignature { Element: HTMLDivElement; Blocks: { default: [ { Tab: ComponentLike<{ Args: { label: string; }; Blocks: { default: []; }; }>; items: TabRegistration[]; select: (id: string) => void; isActive: (id: string) => boolean; } ]; }; } export default class Tabs extends Component { items: TabRegistration[]; active?: string; registerTab(tab: TabRegistration): void; select(id: string): void; isActive: (id: string) => boolean; } export {}; //# sourceMappingURL=tabs.d.ts.map