import { t } from '../common'; declare type UriType = 'NS' | 'CELL' | 'ROW' | 'COLUMN' | 'FILE'; declare type AllowPattern = string | ((input: string) => boolean); declare type Allow = { NS: AllowPattern[]; }; declare type P = (parsed: t.IUriParts) => void; export declare const DEFAULT: { ALLOW: Allow; }; export declare class Uri { static cuid: () => string; static slug: () => string; static ALLOW: { NS: AllowPattern[]; }; static create: { ns: (id: string) => string; cell: (ns: string, key: string) => string; row: (ns: string, key: string) => string; column: (ns: string, key: string) => string; file: (ns: string, fileid: string) => string; }; static clean(input?: string): string; static parse(input?: string): t.IUriParts; static ns(input?: string | t.INsUri | undefined, throwError?: boolean | P): t.INsUri; static cell(input: string | t.ICellUri | undefined, throwError?: boolean | P): t.ICellUri; static row(input: string | t.IRowUri | undefined, throwError?: boolean | P): t.IRowUri; static column(input: string | t.IColumnUri | undefined, throwError?: boolean | P): t.IColumnUri; static file(input: string | t.IFileUri | undefined, throwError?: boolean | P): t.IFileUri; static eq(a?: t.IUri | string, b?: t.IUri | string): boolean; static is: { uri: (input?: string | undefined) => boolean; type: (type: t.UriType | t.UriType[], input?: string | undefined) => boolean; ns: (input?: string | undefined) => boolean; file: (input?: string | undefined) => boolean; cell: (input?: string | undefined) => boolean; row: (input?: string | undefined) => boolean; column: (input?: string | undefined) => boolean; valid: { ns(input?: string | undefined): boolean; }; }; static strip: { ns: (input?: string | undefined) => string; cell: (input?: string | undefined) => string; file: (input?: string | undefined) => string; }; static toNs(input?: string | t.IUri): t.INsUri; static toRowIndex(input?: string | t.IUri): number; static toColumnIndex(input?: string | t.IUri): number; } export {};