// Type definitions for fluent-langneg 0.1 // Project: http://projectfluent.io, https://projectfluent.org // Definitions by: Huy Nguyen // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped export interface LanguageNegotiationOptions { strategy?: 'filtering' | 'matching' | 'lookup'; defaultLocale?: string; } export function negotiateLanguages(requestedLocales: ReadonlyArray, availableLocales: ReadonlyArray, options?: LanguageNegotiationOptions): string[];