import { CodeType } from '../static'; import { IdLinkMeta } from './encodeIdLink'; import { ObjectiveLinkMeta } from './encodeObjectiveLink'; import { ItemLinkMeta } from './encodeItemLink'; import { BuildLinkMeta } from './encodeBuildLink'; type TypeMeta = { item: ItemLinkMeta | ItemLinkMeta['id']; map: IdLinkMeta | IdLinkMeta['id']; skill: IdLinkMeta | IdLinkMeta['id']; trait: IdLinkMeta | IdLinkMeta['id']; recipe: IdLinkMeta | IdLinkMeta['id']; skin: IdLinkMeta | IdLinkMeta['id']; outfit: IdLinkMeta | IdLinkMeta['id']; objective: ObjectiveLinkMeta | ObjectiveLinkMeta['id']; build: BuildLinkMeta; }; export declare function encode(type: Type, data: TypeMeta[Type]): string | false; export {};