import * as i0 from '@angular/core'; interface SdLoadingRef { readonly closed: boolean; close(): void; } declare class SdLoadingService { #private; private static readonly documentRecords; /** Inserted by Angular inject() migration for backwards compatibility. */ constructor(...args: unknown[]); /** Starts loading for every current selector match and returns ownership of those exact hosts. */ start: (selector?: string) => SdLoadingRef; /** Returns the first matched globally loading host, `false` for idle matches, or `null` when unavailable. */ isLoading: (selector?: string) => Element | false | null; /** Releases the oldest exact-selector start, with a current-host fallback for legacy cross-selector calls. */ stop: (selector?: string) => void; run(task: () => T | PromiseLike, selector?: string): Promise; run(task: PromiseLike, selector?: string): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export { SdLoadingService }; export type { SdLoadingRef };