import type { Mask } from '../../Mask.ts';
/**
 * Gets point's row and column from their index and mask width.
 * @param index - point's index.
 * @param maskWidth - mask width.
 * @returns array of point's row and column.
 */
export declare function getCoordsFromIndex(index: number, maskWidth: number): number[];
/**
 * Safely get the bit value at the given column and row in the mask, returning 0 if out of bounds.
 * @param mask - Mask to get the bit from.
 * @param col - Column index.
 * @param row - Row index.
 * @returns the bit value.
 */
export declare function getBitSafe(mask: Mask, col: number, row: number): number;
//# sourceMappingURL=getExternalContourUtils.d.ts.map