import { ComponentRef } from '../../_types';
export interface TestComponent {
    element: HTMLElement;
    shadowRoot: ShadowRoot | null;
    ref?: ComponentRef;
}
export declare function createTestComponent(tagName: string, innerHTML?: string, attributes?: Record<string, string>): TestComponent;
export declare function cleanupComponents(): void;
export declare function waitForComponentDefinition(tagName: string): Promise<void>;
export declare function getSlottedContent(shadowRoot: ShadowRoot | null, slotName?: string): Element[];
export declare function setAttributeAndWait(element: HTMLElement, attributeName: string, value: string | null): void;
export declare function captureWarnings(callback: () => void): string[];
export declare function captureWarningsAsync(callback: () => Promise<void>): Promise<string[]>;
export declare function validateSlots(element: HTMLElement, expectedSlots: Array<{
    name?: string;
    required: boolean;
}>): void;
export declare function createSlotContent(slotName: string | undefined, tagName: string, content: string): HTMLElement;
//# sourceMappingURL=component.d.ts.map