/** * FileMaker major version number used in the `fmpXX` URL scheme. */ export type FileMakerVersion = number; /** * FileMaker account credentials for opening a file. */ export type FileMakerCredentials = { /** * Account name. */ account: string; /** * Account password. */ password: string; }; /** * FileMaker local variable passed to a script URL. */ export type FileMakerLocalVariable = { /** * Local variable name without the leading `$`. */ name: string; /** * Optional repetition number. */ repetition?: number; /** * Local variable value. */ value: string | number; }; export type FileMakerFilePayload = { /** * FileMaker Pro filename. The filename extension is not required. */ filename: string; /** * DNS name or IP address of the host, `~` for the user's Documents folder, or `$` for an already open file. */ address?: string; /** * FileMaker major version number. Omit to use the last installed version via `fmp://`. */ version?: FileMakerVersion; /** * Optional account credentials for opening the file. */ credentials?: FileMakerCredentials; }; export declare function buildFileMakerUrl(payload: FileMakerFilePayload, params?: Record): string; export declare function fileMakerVariableParams(variables: FileMakerLocalVariable[] | undefined): { [k: string]: string | number; };