/** * Readiness helper — wait for custom element definitions. * * @example * import { whenNativeReady } from '@nonoun/native-ui'; * await whenNativeReady(['n-button', 'n-select']); * * @example With timeout: * await whenNativeReady(['n-button'], { timeout: 5000 }); */ export interface ReadyOptions { /** Timeout in milliseconds. Rejects if elements aren't defined within this time. Default: 10000. */ timeout?: number; } /** * Resolves when all specified custom elements are defined. * Uses `customElements.whenDefined()` internally. * * @param tags - Array of tag names to wait for (e.g. `['n-button', 'n-select']`) * @param options - Optional timeout configuration * @throws If timeout is reached before all elements are defined */ export declare function whenNativeReady(tags: string[], options?: ReadyOptions): Promise; //# sourceMappingURL=ready.d.ts.map