# Installation
> `npm install --save @types/browserslist-useragent`

# Summary
This package contains type definitions for browserslist-useragent (https://github.com/browserslist/browserslist-useragent).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/browserslist-useragent.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/browserslist-useragent/index.d.ts)
````ts
export interface ResolvedUserAgent {
    family: string;
    version: string;
}

export interface BrowserslistUseragentOptions {
    browsers?: string[] | undefined;
    env?: string | undefined;
    ignorePatch?: boolean | undefined;
    ignoreMinor?: boolean | undefined;
    allowHigherVersions?: boolean | undefined;
    /**
     * @default process.cwd()
     */
    path?: string | undefined;
}

export function matchesUA(
    uaString: string,
    opts?: BrowserslistUseragentOptions,
): boolean;
export function resolveUserAgent(uaString: string): ResolvedUserAgent;
export function normalizeQuery(query: string): string;

````

### Additional Details
 * Last updated: Mon, 06 Nov 2023 22:41:05 GMT
 * Dependencies: none

# Credits
These definitions were written by [nju33](https://github.com/nju33).
