> ## Documentation Index
> Fetch the complete documentation index at: https://stars-components.js.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface: TFunction()<Ns, KPrefix>

Defined in: node\_modules/.pnpm/i18next\@25.10.10\_typescript\@7.0.2/node\_modules/i18next/typescript/t.d.ts:460

## Extends

* `TFunctionSignature`\<`Ns`, `KPrefix`>

## Type Parameters

### Ns

`Ns` *extends* `Namespace` = `DefaultNamespace`

### KPrefix

`KPrefix` = `undefined`

> **TFunction**\<`Key`, `TOpt`, `Ret`, `ActualOptions`, `DefaultValue`>(...`args`): `TFunctionReturnOptionalDetails`\<`TFunctionProcessReturnValue`\<`$NoInfer`\<`Ret`>, `DefaultValue`>, `TOpt`>

Defined in: node\_modules/.pnpm/i18next\@25.10.10\_typescript\@7.0.2/node\_modules/i18next/typescript/t.d.ts:460

## Type Parameters

### Key

`Key` *extends* `string` | `TemplateStringsArray`

### TOpt

`TOpt` *extends* [`TOptions`](/documentation/api/http-framework-i18n/type-aliases/TOptions)

### Ret

`Ret` *extends* `string` | `$SpecialObject`

### ActualOptions

`ActualOptions` *extends* `Omit`\<`TOpt`, `"context"`> & `object` = `TOpt` & `$PreservedValue`\<`_UnionToIntersection`\<`ParseInterpolationEntries`\<`Ret`> *extends* \[`Name`, `Format`] ? `$UnionToIntersection`\<`$StringKeyPathToRecordUnion`\<`Name`, `_ResolveEntryType`\<`Name`, `Format`>>> : `never`>, `Record`\<`string`, `unknown`>> & `object`

### DefaultValue

`DefaultValue` *extends* `string` = `never`

## Parameters

### args

\[`Key` | `Key`\[], `ActualOptions`] | \[`string` | `string`\[], `TOpt` & `$Dictionary` & `object`] | \[`string` | `string`\[], `DefaultValue`, `TOpt` & `$Dictionary`]

## Returns

`TFunctionReturnOptionalDetails`\<`TFunctionProcessReturnValue`\<`$NoInfer`\<`Ret`>, `DefaultValue`>, `TOpt`>

## Properties

### \$TFunctionBrand

> **\$TFunctionBrand**: `never`

Defined in: node\_modules/.pnpm/i18next\@25.10.10\_typescript\@7.0.2/node\_modules/i18next/typescript/t.d.ts:71

#### Inherited from

`TFunctionSignature.$TFunctionBrand`
