UNPKG

@rnaga/wp-node

Version:

👉 **[View Full Documentation at rnaga.github.io/wp-node →](https://rnaga.github.io/wp-node/)**

13 lines • 638 B
import { Components } from "../components"; import { Meta } from "../meta"; import type * as types from "../../types"; export declare class MetaUtil { private components; constructor(components: Components); get(table: types.MetaTable, id: number): Meta; getValue<T = string>(table: types.MetaTable, id: number, key: string): Promise<T | undefined>; isProtected(metaKey: string, metaType?: types.MetaTable): boolean; getObjectSubtype(type: string, id: number): Promise<string>; getObjectSubtype(type: "post" | "comment" | "term" | "user", id: number): Promise<string>; } //# sourceMappingURL=meta.util.d.ts.map