import type { ColorParams } from "../common/color.js"; import type { ApiResult } from "./api-result.js"; /** Query params the gist endpoint accepts, on top of the shared color params. */ interface GistApiQuery extends ColorParams { id?: string; border_radius?: string; show_owner?: string; browser_rendering?: string; hide_border?: string; } /** * Render the gist card for a set of query params. * * @param query Raw query params. * @param query.id GitHub gist ID. * @param query.border_radius Card border radius. * @param query.show_owner Whether to show the gist owner. * @param query.browser_rendering Whether the browser wraps the description text. * @param query.hide_border Whether to hide the card border. * @param pat Optional PAT override. * @returns The rendered card, or a rendered error. */ declare const _default: ({ id, border_radius, show_owner, browser_rendering, hide_border, ...remainingParams }: GistApiQuery, pat?: string | null) => Promise; export default _default; //# sourceMappingURL=gist.d.ts.map