{"version":3,"file":"progress-bar.d.ts","sources":["progress-bar.d.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA;AACA","sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport { NumberInput } from '@angular/cdk/coercion';\nimport { AfterViewInit, ElementRef, EventEmitter, InjectionToken, NgZone, OnDestroy } from '@angular/core';\nimport { CanColor } from '@angular/material/core';\n/** Last animation end data. */\nexport interface ProgressAnimationEnd {\n value: number;\n}\n/** @docs-private */\ndeclare const _MatProgressBarBase: import(\"@angular/material/core/common-behaviors/constructor\").Constructor & import(\"@angular/material/core/common-behaviors/constructor\").AbstractConstructor & {\n new (_elementRef: ElementRef): {\n _elementRef: ElementRef;\n };\n};\n/**\n * Injection token used to provide the current location to `MatProgressBar`.\n * Used to handle server-side rendering and to stub out during unit tests.\n * @docs-private\n */\nexport declare const MAT_PROGRESS_BAR_LOCATION: InjectionToken;\n/**\n * Stubbed out location for `MatProgressBar`.\n * @docs-private\n */\nexport interface MatProgressBarLocation {\n getPathname: () => string;\n}\n/** @docs-private */\nexport declare function MAT_PROGRESS_BAR_LOCATION_FACTORY(): MatProgressBarLocation;\nexport declare type ProgressBarMode = 'determinate' | 'indeterminate' | 'buffer' | 'query';\n/**\n * `` component.\n */\nexport declare class MatProgressBar extends _MatProgressBarBase implements CanColor, AfterViewInit, OnDestroy {\n private _ngZone;\n _animationMode?: string | undefined;\n constructor(elementRef: ElementRef, _ngZone: NgZone, _animationMode?: string | undefined, \n /**\n * @deprecated `location` parameter to be made required.\n * @breaking-change 8.0.0\n */\n location?: MatProgressBarLocation);\n /** Flag that indicates whether NoopAnimations mode is set to true. */\n _isNoopAnimation: boolean;\n /** Value of the progress bar. Defaults to zero. Mirrored to aria-valuenow. */\n get value(): number;\n set value(v: number);\n private _value;\n /** Buffer value of the progress bar. Defaults to zero. */\n get bufferValue(): number;\n set bufferValue(v: number);\n private _bufferValue;\n _primaryValueBar: ElementRef;\n /**\n * Event emitted when animation of the primary progress bar completes. This event will not\n * be emitted when animations are disabled, nor will it be emitted for modes with continuous\n * animations (indeterminate and query).\n */\n readonly animationEnd: EventEmitter;\n /** Reference to animation end subscription to be unsubscribed on destroy. */\n private _animationEndSubscription;\n /**\n * Mode of the progress bar.\n *\n * Input must be one of these values: determinate, indeterminate, buffer, query, defaults to\n * 'determinate'.\n * Mirrored to mode attribute.\n */\n mode: ProgressBarMode;\n /** ID of the progress bar. */\n progressbarId: string;\n /** Attribute to be used for the `fill` attribute on the internal `rect` element. */\n _rectangleFillValue: string;\n /** Gets the current transform value for the progress bar's primary indicator. */\n _primaryTransform(): {\n transform: string;\n };\n /**\n * Gets the current transform value for the progress bar's buffer indicator. Only used if the\n * progress mode is set to buffer, otherwise returns an undefined, causing no transformation.\n */\n _bufferTransform(): {\n transform: string;\n } | null;\n ngAfterViewInit(): void;\n ngOnDestroy(): void;\n static ngAcceptInputType_value: NumberInput;\n}\nexport {};\n"]}