@samepage/internal
Version:
Utilities used across modules - not meant for use by users directly
15 lines (14 loc) • 390 B
TypeScript
import { EncodeState } from "./types";
declare const sharePageCommandCalback: ({ getNotebookPageId, encodeState, }: {
getNotebookPageId: () => Promise<string>;
encodeState: EncodeState;
}) => Promise<{
notebookPageId: string;
created: boolean;
linkUuid: string;
success: true;
} | {
success: false;
error: string;
}>;
export default sharePageCommandCalback;