/**
 * Copyright (c) @talatkuyuk AKA @ipikuka
 * SPDX-License-Identifier: MPL-2.0
 */
import type { SerializeResult, SerializeProps, SerializeOptions } from "./types.js";
export type { SerializeResult, SerializeProps, SerializeOptions };
/**
 * compiles the MDX source.
 *
 * the compiled source can be passed into "<MDXClient />" or "hydrate" to be rendered on the client side (csr).
 *
 */
export declare function serialize<TFrontmatter extends Record<string, unknown> = Record<string, unknown>, TScope extends Record<string, unknown> = Record<string, unknown>>({ source, options, }: SerializeProps<TScope>): Promise<SerializeResult<TFrontmatter, TScope>>;
//# sourceMappingURL=serialize.d.ts.map